Parser Error Message: Could not load file or assembly 'MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
...
Line 240: <providers>
Line 241: <add name="MySQLMembershipProvider" type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=6.7.4.0,
.....
Resolved to putting the tag in the web.config file the following line:
<remove name="MySQLMembershipProvider"/>
I do not have access to the server settings to remove mysql. But there is another way to solve this that does not happen again?
I got this error when deploying a website to the server (but not when debugging).
To fix it, select References -> MySql.Data and set the Copy Local parameter to True. When deployed on the server you can verify this by the presence of the MySql.Data.dll
in the bin
folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With