部署包含ADO.NET实体数据模型的MVC4网站

时间:2012-05-28 13:31:35

标签: .net entity-framework

我创建了一个包含ADO.NET实体数据模型(linq to entities)的MVC4网站,但在部署到服务器时出现以下错误

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

数据库是SQL Server(System.Data.EntityClient),这可以从我的笔记本电脑上正常工作。服务器是安装了.NET 4的Windows 2008。有谁知道我错过了什么?

1 个答案:

答案 0 :(得分:1)

Doh,应用程序池需要“启用32位Application = true”

相关问题