装上IIS之后,一切正常。在地址栏输入:localhost也可以显示IIS的两个窗口。自己用VS2005做了两个ASPX页面,按F5执行成功。但是当用IIS Broswer时,IE出现错误信息如下:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------A name was started with an invalid character. Error processing resource 'http://localhost/Default.aspx'. Line 1, Position 2 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
-^
谢谢了!
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------A name was started with an invalid character. Error processing resource 'http://localhost/Default.aspx'. Line 1, Position 2 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
-^
谢谢了!
或者重新安装.net框架