ADO.NET Entity Framework Application Raises Error "The specified store provider cannot be found in the configuration, or is not valid." (Doc ID 1422413.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Data Provider for .NET - Version: 11.2.0.3 and later   [Release: 11.2 and later ]
Microsoft Windows (32-bit)

Symptoms

You are using Visual Studio 2010 (or later) to run an ADO.NET Entity Framework application and receive the following error:

Exception:

The specified store provider cannot be found in the configuration, or is not valid.

Inner Exception:

Unable to find the requested .Net Framework Data Provider. It may not be installed.

Stack Trace:

at System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
at System.Data.EntityClient.EntityConnection..ctor(String connectionString)
at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString)
at System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
at EntityFramework.HREntities..ctor() in E:\TestCases\3-5336037331\EntityFramework\EntityFramework\HRModel.Designer.cs:line 41
at EntityFramework.Program.Main(String[] args) in E:\TestCases\3-5336037331\EntityFramework\EntityFramework\Program.cs:line 20
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms