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=18.104.22.168, 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=22.214.171.124, 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