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)
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.
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.
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
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.
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.
is working on a reply...