﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Such is LIFE-文章分类-.NET</title><link>http://www.blogjava.net/CarlElit/category/29951.html</link><description>Simple Life</description><language>zh-cn</language><lastBuildDate>Wed, 12 Mar 2008 17:42:13 GMT</lastBuildDate><pubDate>Wed, 12 Mar 2008 17:42:13 GMT</pubDate><ttl>60</ttl><item><title>Fix the Error in Firefox: XML解析错误;未组织好 and in IE:无法显示 XML 页</title><link>http://www.blogjava.net/CarlElit/articles/185115.html</link><dc:creator>Carl</dc:creator><author>Carl</author><pubDate>Mon, 10 Mar 2008 08:36:00 GMT</pubDate><guid>http://www.blogjava.net/CarlElit/articles/185115.html</guid><wfw:comment>http://www.blogjava.net/CarlElit/comments/185115.html</wfw:comment><comments>http://www.blogjava.net/CarlElit/articles/185115.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/CarlElit/comments/commentRss/185115.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/CarlElit/services/trackbacks/185115.html</trackback:ping><description><![CDATA[<span style="font-family: Verdana;">
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:
<br />
<br />
<strong>XML解析错误：未组织好
位置：http://localhost/Lanxum/dTeam.aspx
行：1，列：2&lt;%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="dTeam, App_Web_hkuu-y0n" title="Untitled Page" theme="iAffron" stylesheettheme="iAffron" %&gt;
-^
</strong><br />
<br />
And in IE, error reported as below:
<br />
<br />
<strong>无法显示 XML 页。字符开头。<br />
处理资源 'http://localhost/Lanxum/default.aspx' 时出错。<br />
第 1 行，位置: 2
</strong><br />
<br />
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:<br />
<br />
<strong>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i</strong><br />
<br />
Once if you have install .net FK and IIS correctly, this sentence will follow:
<br />
<br />
<strong>
开始安装 ASP.NET &lt;v2.0.50727&gt;。</strong><v2.0.50727><strong><br />
&nbsp;.........................................
<br />
ASP.NET&lt;v2.0.50727&gt; </strong><v2.0.50727><strong> 安装完毕
</strong><br />
<br />
Then refresh the page, you will find that the problem is fixed.</v2.0.50727></v2.0.50727></span><v2.0.50727><v2.0.50727>
</v2.0.50727></v2.0.50727>
<img src ="http://www.blogjava.net/CarlElit/aggbug/185115.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/CarlElit/" target="_blank">Carl</a> 2008-03-10 16:36 <a href="http://www.blogjava.net/CarlElit/articles/185115.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>