-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Entity Framework provider found for the ADO.NET provider with invariant name 'JetEntityFrameworkProvider' #53
Comments
This is a section of an App.Config. </configuration>
<entityFramework>
<providers>
<provider invariantName="JetEntityFrameworkProvider" type="JetEntityFrameworkProvider.JetProviderServices, JetEntityFrameworkProvider" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant="JetEntityFrameworkProvider" />
<add invariant="JetEntityFrameworkProvider" name="Jet Entity Framework Provider" description="Jet Entity Framework Provider" type="JetEntityFrameworkProvider.JetProviderFactory, JetEntityFrameworkProvider" />
</DbProviderFactories>
</system.data>
</configuration>
|
Question: How to connect these ("App.config" -bubibubi) + "App.config" (My)? I do not understand you You are providing "App.config" -bubibubi.
|
@bubibubi |
Error.
No Entity Framework provider found for the ADO.NET provider with invariant name 'JetEntityFrameworkProvider'. 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. "
Question:
How do I resolve the error?
Used by
Description.
I am trying to connect to MS Access database - db_test_01.accdb.
I have created a console application.
I am using the instruction: https://www.youtube.com/watch?v=mI0un8jjqL8
I get an error: see the "Error" section above.
Picture
![2020-07-20_21-04-13](https://user-images.githubusercontent.com/18245828/87970957-3e446e80-cacd-11ea-8f9a-37ebc5ddc839.png)
Code
App.config
Person.cs
Car.cs
Context.cs
Program.cs
The text was updated successfully, but these errors were encountered: