您的位置:首页 > 大数据 > 人工智能

The Error "Login failed for user"

2010-11-24 11:03 435 查看
When I deploy the website to my server, it comes out the error: Login failed for user"xxx/xxx", more detail as below:

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY/LOCAL SERVICE'.

After searching from the internet, I know that reason of it. The problem is the permisstion of the IIS as the default permisstion is low. Then we need to configure the settting of the Application Pool. Operation Steps:

Step 1: Open the Internet Information Services (IIS) Manager

Step 2: Click the Application Pools and select the web site you want to configure.

Step 3: Change the Identity to Local System in the Advanced Setting and click ok.

After that, your web site works. Hope that can help you.

Reference:http://www.cnblogs.com/longgel/archive/2010/05/13/1735010.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐