我正在使用Entity Framework开发MVC。我的解决方案能够连接到数据库,SQL Server 2008 R2,当我使用IIS Express运行我的解决方案时,一旦我更改为本地IIS,它就会开始抛出错误:grA = GROUP A BY colA;
grACount = FOREACH grA GENERATE group as colA, COUNT(A.colA) as countColA;
STORE grACount into 'grACount';
grACountFilter = FILTER grACount BY countColA>15;
STORE grACountFilter into 'grACountFilter';
错误消息为:OlResponseStatus
我可以浏览不需要数据库连接的页面。
以下是web.config文件
An exception of type 'System.Data.Entity.Core.EntityException' occurred in EntityFramework.SqlServer.dll but was not handled in user code.