IS this issue solved.I m also facing the same issue
Server Error in '/' Application.
Configuration Error
Description:
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. Source Error:
Line 47: <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 48: <add assembly="System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 49: <add assembly="MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D" /> Line 50: </assemblies>
Line 51: </compilation>
Source
File: D:\Hosting\5761095\html\web.config Line: 49 Assembly Load Trace:The following information can be helpful to determine why the assembly 'MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information: Microsoft .NET Framework Version:2.0.50727.4234; ASP.NET Version:2.0.50727.4223
I am using mysql 5.5.28 and conector 6.6.1.0.working well in my system and throwing error once i publish. i m nt seeing
any dlls in my bin folder.if i paste a dll from the C:\Windows\Microsoft.NET\assembly\GAC_MSIL\MySql.Data\v4.0_6.6.1.0__c5687fc88969c44d folder it throws another error
I believe you need to use the same version of the connector 5.5.28 since GoDaddy is using that for their mysql database. GoDaddy can be rather fussy due to how tight they make their security on the servers. Also a nice thing they do is shut down your application
pools if there are no site visitors within 5-10 minutes, then your site has to recompile, rather annoying if you ask me.
I crated a new project and added all the pages in my old website to the new.I some how get rid of the issue but i got a new one
Server Error in '/' Application.
Security Exception
Description:
The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration> <system.web> <compilation debug="true"/> </system.web> </configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
abin19
Member
2 Points
3 Posts
MySQL DLL problem? Server Error in '/' Application
Jan 07, 2013 05:48 AM|LINK
IS this issue solved.I m also facing the same issue
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 47: <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> Line 48: <add assembly="System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> Line 49: <add assembly="MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D" /> Line 50: </assemblies> Line 51: </compilation>Source File: D:\Hosting\5761095\html\web.config Line: 49
Assembly Load Trace:The following information can be helpful to determine why the assembly 'MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' could not be loaded.
Version Information: Microsoft .NET Framework Version:2.0.50727.4234; ASP.NET Version:2.0.50727.4223
I am using mysql 5.5.28 and conector 6.6.1.0.working well in my system and throwing error once i publish. i m nt seeing any dlls in my bin folder.if i paste a dll from the C:\Windows\Microsoft.NET\assembly\GAC_MSIL\MySql.Data\v4.0_6.6.1.0__c5687fc88969c44d folder it throws another error
anyone kindly help..Thank you
bbcompent1
All-Star
33063 Points
8516 Posts
Moderator
Re: MySQL DLL problem? Server Error in '/' Application
Jan 07, 2013 10:21 AM|LINK
I believe you need to use the same version of the connector 5.5.28 since GoDaddy is using that for their mysql database. GoDaddy can be rather fussy due to how tight they make their security on the servers. Also a nice thing they do is shut down your application pools if there are no site visitors within 5-10 minutes, then your site has to recompile, rather annoying if you ask me.
abin19
Member
2 Points
3 Posts
Re: MySQL DLL problem? Server Error in '/' Application
Jan 08, 2013 09:15 PM|LINK
Thanks for your reply.
I crated a new project and added all the pages in my old website to the new.I some how get rid of the issue but i got a new one
Server Error in '/' Application.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:2.0.50727.4234; ASP.NET Version:2.0.50727.4223
i tried out all debug="true", "false" etc.tried impersonate etc.
Kindly help if you have gone thru this error
bbcompent1
All-Star
33063 Points
8516 Posts
Moderator
Re: MySQL DLL problem? Server Error in '/' Application
Jan 09, 2013 12:26 PM|LINK
You need to give your app full trust in your web.config file. http://coolwebdeveloper.com/tag/full-trust-in-webconfig/