Entity Framework 6, database-first with ORACLE in MVC 5.2.3 project

asp.net-mvc entity-framework-6 oracle


Can somebody assist me with this mistake? Error after set up connection string and confirm

I'm using.NET 4.6 and MVC 5.2.3. I installed Oracle Developer Tools for Visual Studio ( and ODAC 12c Release 4 from the official Oracle website here (http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html), then I added NuGet packages. Oracle.ManagedDataAccess and the entity framework associated with it

as well as those who create these providers in the webconfig file:

<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=, Culture=neutral, PublicKeyToken=89b483f429c47342" />

<provider invariantName="Oracle.ManagedDataAccess.Client" type="Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=, Culture=neutral, PublicKeyToken=89b483f429c47342" />

Anyone who understands this work? What am I overlooking? Thank you for your advice.

8/2/2018 9:15:42 AM

Popular Answer

Installing the Entity Framework Oracle provider is necessary. There are two methods to achieve that:

  1. In the Package Manager Console execute the following command:

    Oracle.ManagedDataAccess.EntityFramework should be installed.

  2. From this page, follow the instructions for installing and configuring NuGet ODP.NET.

Oracle Data Provider for.NET Install and Configuration Using NuGet

8/2/2018 10:35:23 AM

Related Questions


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