Could not load file or assembly 'MySql.Web.v20, Version=6.9.3.0

This isn't I believe a COTS problem but I am posting it so that others won't spend a day resolving it.

I accidentally upgraded by MySQL Data Connector to 6.9.3 , whilst installing the latest MySQL database 5.6.21. After which a generate of my COTS application thrw the error above.

MySQL seems to have a new all in one installer that updates among other things the machine.config file. See this link for some information.

http://stackoverflow.com/questions/17...

In my case it added a heap of entries to C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\Machine.Config that referenced, MySql.Web.v20. I changed all of them to MySql.Web, AND also the entry in my projects web.config and my project is up and running again.

The only problem I have now is if I create a new project the new web.config files seems to get the wrong assembly name ie MySql.Web.v20. I don't know where this is picked up from ( the registry ?) maybe a COTS person could advise ?
2 people have
this problem
+1
Reply