2013-02-19 142 views
5

我剛剛在兩臺獨立的Windows 8機器上將Web Platform Installer升級到版本4.5。 (一個是物理機器,另一個是VM)。我無法運行WPI 4.5,兩者都顯示出下面的同樣的錯誤:WPI 4.5升級後出錯

An error occurred while parsing EntityName. Line 42134, position 81.

更新: 確認這是與微軟的產品列表中的錯誤。發現這個日誌文件條目:

DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9817844 
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9817844 responded with 302 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 302 Found 
Cache-Control: private 
Content-Length: 175 
Content-Type: text/html; charset=utf-8 
Expires: Tue, 19 Feb 2013 18:23:59 GMT 
Location: https://www.microsoft.com/web/webpi/4.5/webproductlist.xml 
Server: Microsoft-IIS/7.5 
X-AspNet-Version: 2.0.50727 
X-Powered-By: ASP.NET 
Date: Tue, 19 Feb 2013 18:24:59 GMT 


DownloadManager Error: 0 : Error loading downloaded product file: 'System.Xml.XmlException: An error occurred while parsing EntityName. Line 42134, position 81. 
    at System.Xml.XmlTextReaderImpl.Throw(Exception e) 
    at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) 
    at System.Xml.XmlTextReaderImpl.ParseEntityName() 
    at System.Xml.XmlTextReaderImpl.ParseEntityReference() 
    at System.Xml.XmlTextReaderImpl.Read() 
    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) 
    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) 
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) 
    at System.Xml.XmlDocument.Load(XmlReader reader) 
    at Microsoft.Web.PlatformInstaller.LineInfoDocument.Load(XmlReader reader) 
    at System.Xml.XmlDocument.Load(TextReader txtReader) 
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadDocument(String xmlPath) 
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures) 
    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)' 

回答

3

我真的很高興谷歌指出我這個問題。我得到了同樣的錯誤從字面上你發佈這個問題後2分鐘...

它似乎是微軟服務器端的錯誤,因爲它已經糾正自己,因爲我開始輸入這個答案。

+3

另外:我發現它非常棒,它讓Google快速索引了StackOverflow,我(和其他已回答的人)在發佈後不到4分鐘就發現了這個問題。去Google的路! – 2013-02-19 18:44:36

+1

我同意你的意見。我使用我發現的WPI日誌文件條目更新了我的答案。 – 2013-02-19 18:45:27

0

有相同的錯誤。卸載WPI,重啓並重新安裝。現在唯一的錯誤是無法加載Feed。

但它啓動並且可用。