用vs2005c#建立的default.aspx文件,在其中运行显示地址栏中为:http://localhost:3861/WebSite3/Default.aspx,可以正常打开网页,但设置IIS默认网站为myweb,再在IE地址中输入http://localhost/myweb/WebSite3/Default.aspx,网页不能正常显示,则出现:无法显示 XML 页。
使用 XSL 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试。
--------------------------------------------------------------------------------名称以无效字符开头。处理资源 'http://localhost/myweb/WebSite3/Default.aspx' 时出错。第 1 行,位置: 2 <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
-^
使用 XSL 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试。
--------------------------------------------------------------------------------名称以无效字符开头。处理资源 'http://localhost/myweb/WebSite3/Default.aspx' 时出错。第 1 行,位置: 2 <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
-^
http://www.cnblogs.com/nio-nio/archive/2009/04/15/1436402.html
看看的
http://localhost/myweb/Default.aspx,网页不能正常显示,则出现:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> 怎么,确定按钮灰显。