Windows: Could not load file or assembly ‘MySql.Data

Published by

Posted on August 02, 2009

Error:
Parser Error Message: Could not load file or assembly ‘MySql.Data,

solution :
First ensure the mysql.data dll is loaded into the /bin folder under your web root. If you have admin rights to the server you can place this dll in c:\windows\assembly

You will also need to verify the version you are calling in your web.config file.

If you are unable to locate the dll on your local pc. you can download the dll from MySQL
The versions are listed on the left hand side.

** added note , this connector is different from the ODBC connector .. This connector is used by .NET appllications
Connector/Net 6.0