请问为什么 Glimpse 会出现这个错误?
Why is this error with Glimpse, please?
我想在我的 ASP.NET MVC4 项目中使用 Glimpse MVC4 和 Glimpse EF6,但它不起作用。我试图在互联网上照顾它,但没有太大的成功。
错误信息:
No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.Odbc'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
在此先感谢您的帮助。
我们看到 Glimpse Issue tracker 上报告了类似的问题。
似乎对记者有用的问题VC4+EF6+MySQL: "No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.Odbc'." #792 seems to match yours more or less and there was a suggested solution。
也许您可以通过将额外的 System.Data.Odbc 提供程序添加到 EntityFramework 配置来尝试相同的方法。
<entityFramework>
<providers>
<provider invariantName="System.Data.Odbc" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
我想在我的 ASP.NET MVC4 项目中使用 Glimpse MVC4 和 Glimpse EF6,但它不起作用。我试图在互联网上照顾它,但没有太大的成功。 错误信息:
No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.Odbc'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
在此先感谢您的帮助。
我们看到 Glimpse Issue tracker 上报告了类似的问题。
似乎对记者有用的问题VC4+EF6+MySQL: "No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.Odbc'." #792 seems to match yours more or less and there was a suggested solution。
也许您可以通过将额外的 System.Data.Odbc 提供程序添加到 EntityFramework 配置来尝试相同的方法。
<entityFramework>
<providers>
<provider invariantName="System.Data.Odbc" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>