文章詳情頁(yè)
XML解析錯(cuò)誤:未組織好 的解決辦法
瀏覽:1348日期:2022-06-04 11:38:27
主要問(wèn)題:XML文件完整,在liunx系統(tǒng)下可正常顯示,但是windows系統(tǒng)提示出錯(cuò),
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:
復(fù)制代碼 代碼如下:
XML解析錯(cuò)誤:未組織好
位置: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:
復(fù)制代碼 代碼如下:
無(wú)法顯示 XML 頁(yè)。字符開(kāi)頭。
處理資源 ‘http://localhost/Lanxum/default.aspx" 時(shí)出錯(cuò)。
第 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:
開(kāi)始安裝 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:
復(fù)制代碼 代碼如下:
XML解析錯(cuò)誤:未組織好
位置: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:
復(fù)制代碼 代碼如下:
無(wú)法顯示 XML 頁(yè)。字符開(kāi)頭。
處理資源 ‘http://localhost/Lanxum/default.aspx" 時(shí)出錯(cuò)。
第 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:
開(kāi)始安裝 ASP.NET 。
…………………………………..
ASP.NET 安裝完畢
Then refresh the page, you will find that the problem is fixed.
標(biāo)簽:
XML/RSS
相關(guān)文章:
1. Java xml數(shù)據(jù)格式返回實(shí)現(xiàn)操作2. Android實(shí)現(xiàn)動(dòng)態(tài)改變shape.xml中圖形的顏色3. python 網(wǎng)頁(yè)解析器掌握第三方 lxml 擴(kuò)展庫(kù)與 xpath 的使用方法4. Android Studio實(shí)現(xiàn)格式化XML代碼順序5. Ajax對(duì)xml信息的接收和處理操作實(shí)例分析6. 如何使用Spring自定義Xml標(biāo)簽7. php與XML、XSLT、Mysql的結(jié)合運(yùn)用,安裝篇8. 解決Android Studio xml 格式化不自動(dòng)換行的問(wèn)題9. Xml簡(jiǎn)介_(kāi)動(dòng)力節(jié)點(diǎn)Java學(xué)院整理10. Python如何對(duì)XML 解析
排行榜

網(wǎng)公網(wǎng)安備