2

I've created an MVC4 website containing an ADO.NET Entity Data Model (linq to entities) but am getting the following error when deploying to a server

[ArgumentException: Unable to find the requested .Net Framework Data Provider.
   It may not be installed.]
System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +251

The DB is SQL Server (System.Data.EntityClient) and this works fine from my laptop. The server is Windows 2008 with .NET 4 installed. Does anyone know what I am missing?

1 Answer 1

1

Doh, the Application Pool needed to be "Enable 32bit Application = true"

Sign up to request clarification or add additional context in comments.

1 Comment

Glad it works, but that sounds wrong to me - why would you only be able to run this in 32-bit? SqlClient is provided by Microsoft so should exist as 64-bit already. Is the EF install really 32-bit only?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.