I have a MySQL database on my web server which I'm using as the database for a simple website. This website is being developed locally and I'm using the MySQL Connector .NET library to access the database. Because of this, I've had to add reference to MySql.Data which has added the following line to my Web.Config...
<assemblies>
<add assembly="MySql.Data, Version=6.0.4.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/></assemblies>
The problem with this is that when I publish my website to the webserver I get an error on trying to visit it saying...
Parser Error Message: Could not load file or assembly 'MySql.Data, Version=6.0.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
I know that the MySQL Connector version used on my web server is an older version than the one I have on my local machine ...
Go to the complete details ...