WPI 4.5升级后出错

Pai*_*ook 5 web-platform-installer

我刚刚在两台独立的Windows 8计算机上将Web Platform Installer升级到4.5版.(一个是物理机器,另一个是VM).我无法运行WPI 4.5,两者都显示以下相同的错误:

解析EntityName时发生错误.第42134行,第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)'
Run Code Online (Sandbox Code Playgroud)

Nic*_*ndo 3

我真的很高兴谷歌向我指出了这个问题。在你发布这个问题后两分钟我就得到了同样的错误......

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

  • 另外:我发现 Google 如此之快地将 StackOverflow 编入索引真是太棒了,以至于我(以及其他回答过的人)在发布后不到 4 分钟就发现了这个问题。去谷歌吧! (3认同)