Unable to find the requested .Net Framework Data Provider. It may not be installed??
在web.config中的 configuration
的节点下面添加如下内容
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
来源:oschina
链接:https://my.oschina.net/it110/blog/4299063