User "IIS apppool\xxxxxxxx" Logon Failure solution

Source: Internet
Author: User
Tags visual studio 2010

Server Error in '/' Application.
--------------------------------------------------------------------------------
Unable to open the database "xxxxxx" requested by the login. Login failed.
User ' IIS apppool\xxxxxxxxxxxx logon failed.

Or an error message like this:

Exception Details: System.Data.SqlClient.SqlException: User ' IIS apppool\xxxxxxxx ' logon failed.

In Visual Studio 2010 Debug mode, there is no problem configuring the IIS error. The reason is a permissions issue.

In IIS default is not allow window integrated login, change account password to log on no problem, the server name is best to fill in the IP address/instance name format, so as not to error.

1. If the application's connection string is Windows integrated login, change it to a username password to log in

2. In IIS Manager--"Application pool--" ASP. V4.0 ———— "Advanced Settings-" logo--"changed to LocalSystem

User "IIS apppool\xxxxxxxx" Logon Failure solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.