日期:2014-05-17  浏览次数:20823 次

IIS7 发布MVC4(EF6.0)出错
错误如下:
No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

我在vs2012调试一点问题都没有的,但发布在iis上面  访问数据库就爆了上面的错  找不到原因啊

我用的EntifyFramework6.0  希望大侠们帮帮忙   万分感激啊!!

------解决方案--------------------
你的连接字符串怎么写的?
------解决方案--------------------
是不是选错dotNet的版本了?