locked
Mysql Problem RRS feed

  • Question

  • User1418733979 posted

    I have created MySql database on Godaddy server and accessed using VS2010 (for web application). The code is working correctly on local machine, but while trying from server I am getting following error. I am new to this, Please guide 

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

    What is this

    Friday, September 9, 2016 6:22 PM

All replies

  • User197322208 posted

    see in the project the MySql.Data.dll and deploy also ( see in properties)

    Friday, September 9, 2016 6:26 PM
  • User1418733979 posted

    please give me a example code please

    Friday, September 9, 2016 6:30 PM
  • User2053451246 posted

    please give me a example code please
    He is not saying to write any code.  Look in the References folder of your project, right-click on the MySql dlls, and click Properties.  Make sure Copy Local is set to True.

    Friday, September 9, 2016 6:35 PM