ASP. NET program configuration IIS "PC-computer \ ASPnet" Login Failed

Source: Internet
Author: User

In the past two days, the system has been reinstalled, Vs and MSSQL have also been reinstalled, and IIS has also been reinstalled (preferably consistent with the OS version ), configure a previous website, run not, prompt "server application unavailable", according to the solution provided by online users, http://www.cnblogs.com/lemontree/archive/2009/03/04/1403219.html

I don't know how to solve this problem. I also encountered a "PC-computer \ ASPnet" Logon failure because I was prompted for this error, so I thought of the previous solution, now, write it down to help you remember it first, or help your friends who need help:

1. log on to the MSSQL database and select "security"-> Create a login name,

2. Select "Search"-> select a user or group-> "advanced"-> select a user or group-> select "Search now" to find ASPnet in the list, click OK ..

3. After creating a login name, you need to set the user ing for this user, select "machine name \ ASPnet" Login Name, right-click the attribute, and the following dialog box appears, the above is the database associated with you, and the lower is to select the database role member identity, select the two indicated by the Red Arrow should be OK ..

4. Run the page again and click OK ..

5. Conclusion: if the above two problems occur, You can first register IIS, and then add the ASPNET login name with the corresponding "Identity" attached ".

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.