Summary of ASPnet's experience in IIS

Source: Internet
Author: User

Generally, IIS cannot run ASP. NET. Try the following four methods, which are 99% valid:

1 .. Net Plugin-I to reinstall IIS mapping (mainly used to match the extention of files such as aspx and asmx ). Run the following command in the C:/Windows/Microsoft. NET/framework/v1.0.3705 Directory: aspnet_regiis.exe-I

2. Reset the ASPNET password and find the machine in the directory below. config File: % SystemRoot %/Microsoft. net/framework/v1.0.3705/config (systemroot is your installation directory), add/modify the username and password3 in the ID. If not, reinstall IIS and perform operation 4 in accordance with method 1. If your machine is a domain controller, you can refer to q315158: ASP. NET does not work withaspnet account on Domain Controller: http://support.microsoft.com/default.aspx? SCID = KB; en-US; q315158:

1) create a user named aspuser in Administrative Tools> Active Directory users and computers to add the user to the user group (which is already in the user group by default)

2) In administrative tools-> Local Security Settings-> local policy-> userright assignment, double-click the Log on as a batch job item in the right column and click Add in the pop-up window, select or enter the created aspuser account and click OK. (You need to restart the machine)

3) ensure that the aspuser account has the permission to access the corresponding files and directories. 4. In the following directory, find the machine. config file: % SystemRoot %/Microsoft. NET/framework/v1.0.3705/config (systemroot is your installation directory) and add/modify it in the identity:

Username = "domainname/aspuser" Password = "aspuserpassword" where aspuserpassword is the password of the created aspuser and domainname is your domain name

Finally, reset the machine! Look! OK!

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.