码迷,mamicode.com
首页 > 数据库 > 详细

Could not load file or assembly 'MySql.Data.CF,

时间:2015-12-21 15:32:51      阅读:267      评论:0      收藏:0      [点我收藏+]

标签:

  • Could not load file or assembly ‘MySql.Data.CF, Version=6.4.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, Retargetable=Yes‘ or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047

     

     

    • I solved it. The problem is  due to dll problem. 

      I copy the dll to bin folder then it works fine with no issue.

       

       

      博主的解决办法 先在项目里删除引用MySql.Data.CF ,然后到项目文件夹删除bin下面的 MySql.Data.CF,貌似ASP.NET会自动读取BIN下面的所有DLL,导致冲突并产生报错,打开任何一个页面都报错

Could not load file or assembly 'MySql.Data.CF,

标签:

原文地址:http://www.cnblogs.com/jiahuafu/p/5063234.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!