No Entity Framework provider found for the ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client'

.net asp.net-mvc-4 c# entity-framework oracle

Question

After installing Entity Framework 6.0.1, I keep getting an error

MAXModel.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client'. 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. (see Figure below)

enter image description here

Before I installed it, it was fine.

I'm using MVC 4.

Thank you. robotron

1
9
11/22/2013 3:28:47 PM

Accepted Answer

The current version of the Oracle Managed ODP is not compatible with EF 6, learned this the hard way. Use EF 5 instead.

There is a ticket open at oracle support, I can't find it right now though.

EDIT

I got another upvote on this today, so I thought I'd add that the newest version of ODP.net now supports EF 6.

EDIT AGAIN

Since a while back an official ODP.NET entity framework package is available at nuget (link)

22
5/5/2015 7:13:33 PM

Popular Answer

Try to use ODAC 12c Release 3 which includes support for Entity Framework 6 Code First and Code First Migrations; NuGet, .NET Framework 4.5.2; and ODP.NET, Managed Driver XML DB. As per

http://www.oracle.com/technetwork/topics/dotnet/whatsnew/index.html



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow