0

I am facing an exception while running the below code,

// Create a connection object for entity connection.
EntityConnection con = new EntityConnection(connString);

The exception message is

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

and the inner exception is

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

in System.Data.Entity dll.

The above mentioned issue occurs only when run the project on .NET 4.0 and all other framework projects are executing fine with provided connection.

Could anyone please let me know, why exception while working with Entity Framework in 4.0 .NET framework?

Regards, Amal Raj

Amal
  • 576
  • 1
  • 6
  • 26

0 Answers0