posts - 1,  comments - 3,  trackbacks - 0
I use visual studio 2005 and iis to develope a new .net website. I promise the code is right, but most pages running in Firefox 2.0 reported this error:

XML解析错误:未组织好 位置:http://localhost/Lanxum/dTeam.aspx 行:1,列:2<%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="dTeam, App_Web_hkuu-y0n" title="Untitled Page" theme="iAffron" stylesheettheme="iAffron" %> -^

And in IE, error reported as below:

无法显示 XML 页。字符开头。
处理资源 'http://localhost/Lanxum/default.aspx' 时出错。
第 1 行,位置: 2


The reason is that I install visual studio first(together with .net framework 2.0) and then install IIS. It made .net FK didn't register in IIS. Just run this command with DOS:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

Once if you have install .net FK and IIS correctly, this sentence will follow:

开始安装 ASP.NET <v2.0.50727>。
 .........................................
ASP.NET<v2.0.50727>
安装完毕

Then refresh the page, you will find that the problem is fixed.
posted on 2008-03-10 16:36 Carl 阅读(3824) 评论(4)  编辑  收藏 所属分类: .NET


FeedBack:
# re: Fix the Error in Firefox: XML解析错误;未组织好 and in IE:无法显示 XML 页
2008-05-29 22:27 | dongping0903
thanks  回复  更多评论
  
# re: Fix the Error in Firefox: XML解析错误;未组织好 and in IE:无法显示 XML 页[未登录]
2008-12-03 19:17 | YY
Thanks!! it works!:D   回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航:
 
<2024年12月>
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

常用链接

留言簿(1)

随笔档案

文章分类

文章档案

搜索

  •  

最新评论