您现在的位置是:网站首页> 编程资料编程资料
XML解析错误:未组织好 的解决办法_XML基础_
2023-05-25
310人已围观
简介 XML解析错误:未组织好 的解决办法_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.
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.
您可能感兴趣的文章:
相关内容
- jscript与vbscript 操作XML元素属性的代码_XML示例_
- 一个用xslt样式将xml解析为xhtml的类TransformBinder(兼容FF和IE7.0)_XML示例_
- 用xslt将xml解析成xhtml的代码_XML示例_
- 读大数据量的XML文件的读取问题_XML示例_
- 存储于xml中需要的HTML转义代码_XML基础_
- powerbuilder(pb)中 xml的应用一例_XML示例_
- XML 非法字符(转义字符)_XML基础_
- XML 轻松学习手册(比较不错)第1/3页_WML教程_
- jstl 字符串处理函数_WML教程_
- javascript xml xsl取值及数据修改第1/2页_XML示例_
