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

栏目: 编程语言 · XML · 发布时间: 7年前

内容简介:主要问题:XML文件完整,在liunx系统下可正常显示,但是windows系统提示出错
主要问题: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解析错误:未组织好 的解决办法》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

互联网运营实战手册

互联网运营实战手册

李春雷 / 人民邮电出版社 / 2017-4 / 49.80元

为什么网络推广做不起来?微信文章也是套路?标题党的背后是什么?把服务器搞瘫痪的活动是怎么玩出来的?社群究竟要如何运营?数据又该如何运营?你会任务分解吗? 《互联网运营实战手册》详细剖析了网站(产品)的运营技巧与实战,涵盖实用的互联网运营方法,是作者从多年的实战中提炼出的运营心得和精华,涉及运营技巧、运营工具和运营思维方法。详细讲解了用户运营、内容运营、新媒体运营、社群运营、活动运营和数据运营......一起来看看 《互联网运营实战手册》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具