Click here to Skip to main content
15,914,488 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi
I have a working ASP.NET Project on my Machine but when I try to run it on IIS I get this error when loading the page.

Could not load file or assembly 'MySql.Data, Version=6.4.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.


add assembly="MySql.Data, Version=6.4.3.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"

Does anyone experience this kind of error?

Version = 6.4.3.0 is the current version of my Mysql.Data.
Posted
Updated 8-Sep-13 16:52pm
v2
Comments
Ron Beyer 8-Sep-13 23:21pm    
Do you have the MySql.Data.dll in the same directory as your compiled asp dll?
iMaker.ph 8-Sep-13 23:52pm    
haven't see Mysql.Data.dll on my Bin, they said it's on the GAC and I don't know if its their :(
Ron Beyer 9-Sep-13 0:04am    
"They said"? Who is "they"? Have you checked the GAC? I'm not sure if its installed there by default or if you have to tell it to install to the GAC. You could just tell Visual Studio to copy the .dll to the output directory for you.
iMaker.ph 9-Sep-13 0:16am    
http://www.codeproject.com/Questions/120641/MySQL-Error

I've tried putting the Mysql.Data.dll on my Bin but still getting the same error but if I try to change the version of Mysql.Data, it will return another error

MysqlConnection is not define
Bernhard Hiller 9-Sep-13 5:38am    
32bit vs. 64bit?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900