Workaround sharing for IIS browsing ASPX pages that cannot display XML pages

Source: Internet
Author: User

This article describes a workaround for an IIS Browse ASPX page that cannot display an XML page, and a friend who needs to refer to it

When you use IIS to debug an. aspx program, IE prompts the following error:

The XML page could not be displayed. You cannot view XML input using a style sheet. Please correct the error and click the Refresh button, or try again later.
An error occurred while processing resource ' http://localhost/.          Line 1th, Position: 2 <%@ page language= "C #" autoeventwireup= "true" codefile= "Main.aspx.cs" inherits= "_default"%> -^

IIS uses 5.1, the default Web version of ASP 2.050727, reinstall IIS or not, and finally looked up a bit of information, knowing this error because the ASP. NET account is not registered in IIS, it may be installed first. framework2.0, installed IIS, or unloaded IIS (this is my case).

The Final Solution:

Start-run--cmd--into c:/windows/microsoft.net/framework/v2.0.50727

Then enter the aspnet_regiis.exe/i command,

After the installation is complete, it will be ready.

IIS uses 5.1, and the default Web site, the ASP version, is 2.050727.

Note:

IIS is installed on XP, limiting the number of connections to 10, and IIS does not have a limit on the number of connections on the WINDOWS2003 Server Edition.

XP installed IIS5 no problem, but the installation of iis6.0 will be missing a lot of files, the General 5.0 version is enough, the general

2003server server operating system with iis6.0.

Install on XP. net4.0 automatically changes the property of the Web site attribute to English.

IIS is a component of Windows, there are some problems with installing IIS on XP machine, need to insert the drive, try to put control panel--Add and remove components--attachment tool--game. Remove the tick from the front of the game. Because some of the content is not compatible, and then reinstall, encountered this problem and resolved in this way.

Mosquito net transfer from: http://www.jb51.net/article/42723.htm

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.