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

时间:2016-11-28 01:15:40   收藏:0   阅读:2923

在登录系统,通过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.

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!