码迷,mamicode.com
首页 > Web开发 > 详细

asp.net网站运行出错:the underlying provider failed on open的解决

时间:2016-11-28 01:16:43      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:tin   linq查询   value   case   box   failed   entity   under   tap   

在登录系统,通过linq查询时发生错误,the underlying provider failed on open,如何解决,请看:

Step 1:
Open Internet Information Service Manager
Step 2:
Click on Application Pools in left navigation tree.
Step 3:
Select your version Pool. In my case, I am using ASP .Net v4.0. If you dont have this version, select DefaultAppPool.
Step 4:
Right click on step 3, and select advanced settings.
Step 5:
Select Identity in properties window and click the button to change the value.
Step 6:
Select Local System in Built-in accounts combo box and click ok.
That‘s it. Now run your application. Everything works well.

asp.net网站运行出错:the underlying provider failed on open的解决

标签:tin   linq查询   value   case   box   failed   entity   under   tap   

原文地址:http://www.cnblogs.com/zrprj/p/6107651.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!