After IIS is installed in Windows XP.
The error is
The XML page cannot be displayed.
You cannot view XML input using a style sheet. Correct the error and click Refresh or try again later.
--------------------------------------------------------------------------------
An error occurred while processing the resource 'HTTP: // localhost/asp.net/default.aspx. Row 1st, Location: 2
-^
----------------------
Later, it was found that the Asp.net version was not selected in the attribute value. A new error is found after selection.
The current identity (nt authority/Network Service) does not have write access to "C:/Windows/Microsoft. NET/framework/v2.0.50727/Temporary ASP. NET Files.
Later, I found out that my IIS was not registered. I don't know what's going on. Why do I still have to register. No. You can refer to the following two methods.
Method 1: Open the vs.net command and enter aspnet_regiis-ir-enable.
Method 2: Enter "cmd" to enter the DOS prompt command window, for example, "C: Windows/Microsoft. net/framework/v2.0.50727 directory. After running the aspnet_regiis.exe/I command, the system will prompt that Asp.net is being installed. After the installation is complete, the system will work properly.