ASP. net iis usage error cannot display XML page

Source: Internet
Author: User

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.

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.