Last post Jun 13, 2013 07:09 PM by fr3d
Jun 13, 2013 06:49 PM|fr3d|LINK
I using asp.net 4.0 and mysql for web service.Firstly I download latest version of mysql connector 6.6.5 .After that I install MySQL Library 6.2.5.Because when I used 6.6.5 connector,I encountered trust level problem I succesfully create both of them.When
I add reference for 6.2.5 mysql.data.dll to project on host.
Could not load file or assembly 'MySql.Data, Version=18.104.22.168, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
error in host.I used C:\Program Files (x86)\MySQL\MySQL Connector Net 6.2.5\Assemblies\mysql.data.dll for import project.I checked the GAC folder only exist this folder name v4.0_22.214.171.124__c5687fc88969c44d
no file name 6.2.5:
Which dll add reference to Vs2012 for succesfully work?
My web service doesn't work correctly on host.How can I solve this problem ?
Thanks in advance
Jun 13, 2013 06:54 PM|Lannie|LINK
try copy mysql.data.dll to your application /BIN folder, make LOCAL reference to it in the project configuration, recompile.
Jun 13, 2013 07:09 PM|fr3d|LINK
I copied bin folder on localhost working correctly.After that I published I encounter same error on host
Could not load file or assembly 'MySql.Data, Version=126.96.36.199, Culture=neutral, PublicKeyToken=' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I using 6.2.5 but error says version 6.5.4 .How can I solve?