Showing posts with label ODAC. Show all posts
Showing posts with label ODAC. Show all posts

Wednesday, March 26, 2014

Unable to find the requested .Net Framework Data Provider. It may not be installed. (Strategy type ConfiguredObjectStrategy, index 2)

We have a .Net web application using Oracle ODAC. When I deploy it, on certain servers I get

The current build operation (build key Build Key[Microsoft.Practices.EnterpriseLibrary.Data.Database,xxxxx]) failed:
Unable to find the requested .Net Framework Data Provider. It may not be installed. (Strategy type ConfiguredObjectStrategy, index 2)

xxxxx -> Stands for your db connection string.

I copied the following section from machine.config to my applications web.config, and that fixed it.

 C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config

 

Web.Config