mysql 缺少 dll_缺少MySQL DLL?

确保MySQL.Data.dll实际上已复制到输出文件夹。并且您正在使用正确的平台(x32 vs x64位)和正确的.NET版本(2,3,3.5 vs 4)。如果每次扫描都很好,请启用Fusion Logging并查看此article:

For FileNotFoundException: At the bottom of the log will be the paths

that Fusion tried probing for this assembly. If this was a load by

path (as in Assembly.LoadFrom()), there will be just one path, and

your assembly will need to be there to be found. Otherwise, your

assembly will need to be on one of the probing paths listed or in the

GAC if it's to be found.

You may also get this exception if an unmanaged dependency or internal

module of the assembly failed to load. Try running depends.exe on the

file to verify that unmanaged dependencies can be loaded. Note that if

you re using ASP.NET, the PATH environment variable it's using may

differ from the one the command line uses. If all of them could be

loaded, try ildasm.exe on the file, double-click on "MANIFEST" and

look for ".file" entries. Each of those files will need to be in the

same directory as the manifest-containing file.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值