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!

Unable to find the requested .NET Framework data provider

1034032Aug 19 2013 — edited May 25 2018

Hi All,

I did a whole development under Windows 7 + VS 2012 using Entity Framework 4.1

My application is a Windows Console application that uses Entity Framework to access an Oracle database that runs in a remote server. My application has a x64 target setting, and my Windows 7 is also 64bit.

All went fine on development machine until I started deployment to a production host.

Production host: Newly installed Windows Server 2012. Installed ODAC 64-bit and run configure.bat at odp.net/managed/x64 folder.

I´m taking all files from my application genereated at /bin/Debug folder form VS2012 and copying to the target machine, together with Oracle.DataAccess.dll.

My connection string has providername = System.Data.EntityClient. This was generated by EF Model-First Wizard.

When running, I´m getting the following exception:

Unable to find the requested .NET Framework Data Provider. IT may not be installed. at System.Data.EntityClient.EntityConnection.GetFactory (String providerString).

I´ve checked the ODCA configure.bat and it installs OracleManageDataAccessDTC.DLL

So, I´m very confused. I have Oracle.DataAcess.dll, OracleManageDataAccessDTC.dll and none of this work. This is my first Oracle deplyment with EF 4.1.

Hope someone can help me.

Rds

Cox

This post has been answered by 1034032 on Aug 22 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2013
Added on Aug 19 2013
9 comments
56,492 views