Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ridi 71 posts 103 karma points
    Aug 07, 2014 @ 11:05
    ridi
    0

    Umbraco deployment error on azure fine on localhost / iis

    Hello , we use Umbraco 7.x.x 

    we can run umbraco on local, however when we upload it to azure web site we got this error

     

    Server Error in '/' Application.

    Could not load types from assembly umbraco.DataLayer, Version=1.0.5095.27252, Culture=neutral, PublicKeyToken=null, errors:
    Exception: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
    File name: 'MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'

     

    please help, since we don;t use any mysql , we use sdf, (sql ce) 

    thank you 

  • Dan Lister 416 posts 1974 karma points c-trib
    Aug 07, 2014 @ 11:14
    Dan Lister
    0

    Hi Ridi,

    The assembly MySql.Data is required by Umbraco and is part of an Umbraco download. Even if you do not wish to use MySql, the assembly should still be present within your application's bin folder. Can you double check it is there? If not, adding it should fix the problem.

    Thanks, Dan.

  • Ste 14 posts 35 karma points
    Nov 14, 2014 @ 16:55
    Ste
    0

    I just experienced this error and it was due to differences in the web.config. The MySql binary was on the server, but the web config didn't refer to it correctly. I merged config changes from local to Azure and the site came online.

    HTH you, future person.

Please Sign in or register to post replies

Write your reply to:

Draft