ASP.NET and IIS configuration problem summary!
In my ASP.NET development process, there will be many problems, for example, suddenly unable to establish a web application, suddenly unable to access the database, and install a lot of problems in the beginning of the .NET.
General IIS can't run ASP.NET, try the following four methods, 99% effective:
1. The order of .NET installation should be first IIS, then install VS.NET, if the order is counternamed, or IIS is reloaded, you need to use ASPNET_REGIIS.EXE -I to reinstall IIS Mapping (mainly for ASPX, ASMX and other files) EXTENTION matches). First enter the DOS environment (running CMD), in the C: /Winnt/Microsoft.Net/framework/v1.1.4322 directory, run the following command: ASPNET_REGIIS.EXE -I
2. Replay the password of the ASPNET, then find the Machine.config file in the directory below:% systemroot% / microsoft.net / framework / v1.0.3705 / config (SystemRoot is your installation directory), add / modify in the ID: UserName And Password3. If not, reload IIS, then follow the method 1 to operate 4. 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 & and You roughly explain the steps:
1) Create a user named ASPUSER in Administrative Tools and Computers, adding the user to the user group (in User Group by default)
2) In Administrative Tools-> Local Policy-> Userright Assignment, double-click the log on as a bathch job item in the right column, click Add, select or enter the ASPUSER account that is just created in the pop-up window, determine . (Need to restart the machine)
3) Make sure the ASPUSER account has the corresponding file, the access to the directory 4. Find the Machine.config file in the directory:% systemroot% / microsoft.net / framework / v1.0.3705 / config (SystemRoot is your installation directory), add / modify in the identity:
Username = "domainname / aspuser" Password = "aspuserpassword" where ASPUSERPASSWORD is the password of the ASPUSER just established, DomainName is your domain name
Finally, put the machine reset! Take it! It should be OK!