I am trying to test website on a remote server to see if I can read or write to a MySql Database.
In VS Web developer 2010 Express edition, I created a new website and saved it via ftp on the remote host. I have added the 'Mysql.data.dll' to the website and placed it in the bin directory of the project.
When I try to run the program i get "Could not load File or assembly MySql.Data,
Version=184.108.40.206, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or
one of its dependencies. The system cannot find the file specified.
Line 4: <compilation debug="true" urlLinePragmas="true">
Line 5: <assemblies>
Line 6: <add assembly="MySql.Data, Version=220.127.116.11, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
Line 7: </assemblies>
Line 8: </compilation></system.web></configuration>
The remote server supports .Net v2, so I have made my application focused on v2 framework. I have tried similar code on my local machine and works fine.
Can anyone pls advice what I might be doing wrong?
View Complete Post