最近我开始尝试ASP.NET MVC和实体框架。由于我的主机提供商只向我提供MySQL,我一直在试图设置它。 当地一切正常,但我出版后,我收到以下错误:发布网站的问题
[ProviderIncompatibleException: The store provider factory type 'MySql.Data.MySqlClient.MySqlClientFactory' does not implement the IServiceProvider interface. Use a store provider that implements this interface.]
由于我没有经验,与此配置和谷歌是缺乏一个好的答案,我想我会尝试在这里。 我最好的猜测是web.config文件中缺少的东西,但不能真正弄清楚它是什么。
任何帮助将不胜感激!