Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Failed to find or load the registered .Net Framework Data Provider.

912890Jan 24 2012 — edited Jan 25 2012
I get this exception when the entitie model class calls DBFactories.GetFactories(string) in .Net. In a unit test project I can use LINQ to Entities without this exception. However if I access the webservice I get exception above.
Whats the difference between the two? I work on x64 computer and have installed "ODTwithODAC112030"

I use a web application that calls a web services. This webservice retrieves data from the ADO entity model (EDMX).


Machine.Config
.Net 4.0

<DbProviderFactories>
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>

and in .net 2.0
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=2.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>

What must I do to get it working?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2012
Added on Jan 24 2012
3 comments
5,969 views