Last post Jun 21, 2011 08:06 AM by lnortonjr
Jun 20, 2011 05:21 PM|lnortonjr|LINK
I have a Visual Studio 2010 solution with an Entity Framework Data project and a MVC web site. The website works fine when debugging via Cassini, but when deployed to its own site in IIS (Even my local instance of IIS 7) it fails at any view hitting the
provider. CNR.HARPS.DATA is the data project with the .edmx file.
[ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.] System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +251[ArgumentException: The specified store provider cannot be found in the configuration, or is not valid.] System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +10983191 System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString) +641 System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName) +84
Jun 21, 2011 08:06 AM|lnortonjr|LINK
I found the issue. In the IIS application pool, I had to set Enable 32-Bit Applications to true.