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

发布时间:2022-04-17 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了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.

脚本宝典总结

以上是脚本宝典为你收集整理的XML解析错误:未组织好 的解决办法全部内容,希望文章能够帮你解决XML解析错误:未组织好 的解决办法所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签:XML