Click here to Skip to main content
15,175,525 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i hosted a web application with with was wrriten in Vb ,and the backend is MySQL database ,it works fine on my development system ,but when i upload is to my Host i get the following error message

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

with sub section of the error has which i think comes from the web config

Line 32:         <add assembly="System.Design, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 33:         <add assembly="System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 34:         <add assembly="MySql.Data, Version=, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
Line 35:       </assemblies>
Line 36:     </compilation>

please i really need to get this over

1 solution

Copy the Mysql.Data.dll to the bin directory of your web application on the server.
chidozie 1-Jul-12 11:21am
Thanks this has solved my problem
AshishChaudha 1-Jul-12 13:30pm
Good 5!

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