未能加载 mysql.data,无法加载文件或程序集'MySql.Data,Version = 6.3.6.0

在使用Entity Framework 4.1和MySql 5.xx时,遇到一个奇怪的问题,即在本地运行正常,但部署到服务器后,出现无法加载'MySql.Data, Version=6.3.6.0'的错误。错误源于程序集版本定义不匹配。解决方案包括将匹配版本的MySQL连接器DLL放入Web应用程序的bin目录,并在web.config中注册提供者。" 19206,3276,理解OpenSSL中的BIO对及其应用,"['SSL', '网络编程', 'OpenSSL库', 'BIO', '数据传输']
摘要由CSDN通过智能技术生成

I'm at a COMPLETE loss - I'm having super wierd issues with what I still really dont even understand... I'm running Entity Framework 4.1, MySql 5.xx and my MySql Connector is v 6.4.4 - everything works beatifully locally however whenever I upload to the server I receive:

Could not load file or assembly 'MySql.Data, Version=6.3.6.0, 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)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'MySql.Data, Version=6.3.6.0, Culture&#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值