开发者

Could not load file or assembly 'MySql.Data, Version=6.3.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies

开发者 https://www.devze.com 2023-03-27 20:21 出处:网络
How to resolve this issue Could not load file or assembly \'MySql.Data, Version=6.3.5.0, Culture=neutral, PublicKeyToken=c5开发者_如何学C687fc88969c44d\' or one of its dependencies. The located assem

How to resolve this issue

Could not load file or assembly 'MySql.Data, Version=6.3.5.0, Culture=neutral, PublicKeyToken=c5开发者_如何学C687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

The site is running good in local host but when publishing the site and checking i am getting the error. Can any one give me a solution for this..

My sample image from Assembly folder

Could not load file or assembly 'MySql.Data, Version=6.3.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies


The DLL either needs to be in the bin folder of the application (or in the same folder) or needs to be installed to the GAC.

Does the MySql DLL come with an installer?

--

This can also happen when the referenced DLL is built with a later version of .Net than the application that is calling it.

0

精彩评论

暂无评论...
验证码 换一张
取 消