web-platform-installer – WPI 4.5升级后出错

前端之家收集整理的这篇文章主要介绍了web-platform-installer – WPI 4.5升级后出错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚刚在两台独立的 Windows 8计算机上将Web Platform Installer升级到4.5版. (一个是物理机器,另一个是VM).我无法运行WPI 4.5,两者都显示以下相同的错误

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

更新:
确认这是Microsoft产品列表中的错误.找到此日志文件条目:

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)'

解决方法

我很高兴Google向我指出了这个问题.在你发布这个问题后2分钟,我得到了相同的错误

它似乎是一个Microsoft服务器端错误,因为它自我开始输入这个答案以来已经纠正了自己.

猜你在找的HTML相关文章