“XML解析错误:未组织好”的解决办法

主要问题:XML文件完整,在liunx系统下可正常显示,但是windows系统提示出错,
I use 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
…………………………………..
ASP.NET
安装完毕

Then refresh the page, you will find that the problem is fixed.

转载请注明出处:https://www.onexin.net/xml-parse-error-not-organize-solution/

随机文章:

1、supesite远程图片本地化并作为文章附件
https://www.onexin.net/supesite-remote-image-localization-and-as-a-post-attachments/

2、Apache服务器使用.htaccess实现图片防盗链
https://www.onexin.net/apache-server-htaccess-prevent-hotlinking-to-achieve-picture/

3、System Repair Engineer 2.2.6.605 正式版来了
https://www.onexin.net/system-repair-engineer-226605-%e6%ad%a3%e5%bc%8f%e7%89%88%e6%9d%a5%e4%ba%86/

4、利用htaccess文件来禁止ip
https://www.onexin.net/htaccess-file-to-ban-the-use-of-ip/

5、UTF-8 轉 BIG5 運用 mb_convert_encoding() 的處理方式
https://www.onexin.net/the-use-of-utf-8-transfer-big5-mb_convert_encoding-approach/

Leave a Reply