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!