Open it19862 opened 4 years ago
This is a section of an App.Config. Could you check if your is similar?
</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>
@bubibubi
This is a section of an App.Config. Could you check if your is similar?
</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 My "App.config" (My). `<?xml version="1.0" encoding="utf-8" ?>
@bubibubi The topic is closed. Thank.
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
Code App.config
Person.cs
Car.cs
Context.cs
Program.cs