无法加载文件或程序集';Mysql.Data,版本=6.6.5.0';

无法加载文件或程序集';Mysql.Data,版本=6.6.5.0';,mysql,asp.net,visual-studio-2012,web-applications,mysql.data,Mysql,Asp.net,Visual Studio 2012,Web Applications,Mysql.data,我在visual studio 2012中使用MySQL 5.2.47 CE版运行web应用程序时遇到此错误: Could not load file or assembly 'MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. 有人能帮我吗?此错

我在visual studio 2012中使用MySQL 5.2.47 CE版运行web应用程序时遇到此错误:

Could not load file or assembly 'MySql.Data, Version=6.6.5.0, Culture=neutral,
PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find 
the file specified.

有人能帮我吗?

此错误意味着引用程序集Mysql.Data 6.6.5不存在于正在执行的程序集中。这可能与此无关,但。。。我只是遇到了一个类似的问题,因为MySQL安装程序在我的machine.config文件中添加了一些垃圾,其中一些破坏了一个甚至不使用MySQL的web应用程序。因此,machine.config文件中的错误引用极有可能导致此错误。