Reputation: 683
I'd like to use Glimpse MVC4 and Glimpse EF6 in my ASP.NET MVC4 project but it doesn't work. I tried to look after it in the Internet but not much success. The error message:
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.
Thanks in advance for help.
Upvotes: 0
Views: 480
Reputation: 6114
We see similar issues being reported on the Glimpse Issue tracker.
The issue 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 that seemed to work for the reporter.
Maybe you can try the same by adding the additional System.Data.Odbc provider to the EntityFramework configuration.
<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>
Upvotes: 2