2016-06-12 87 views
0

我試圖安裝和運行x64的水銀3.8.3,但我發現了以下錯誤:水銀並排並排配置不正確

D:\Program Files\Mercurial>hg.exe 
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. 

運行sxstrace.exe提供了以下日誌:

================= 
Begin Activation Context Generation. 
Input Parameter: 
    Flags = 0 
    ProcessorArchitecture = AMD64 
    CultureFallBacks = en-US;en 
    ManifestPath = D:\Program Files\Mercurial\hg.exe 
    AssemblyDirectory = D:\Program Files\Mercurial\ 
    Application Config File = 
----------------- 
INFO: Parsing Manifest File D:\Program Files\Mercurial\hg.exe. 
    INFO: Manifest Definition Identity is (null). 
    INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" 
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". 
    INFO: Resolving reference for ProcessorArchitecture amd64. 
     INFO: Resolving reference for culture Neutral. 
      INFO: Applying Binding Policy. 
       INFO: Find publisher policy at C:\WINDOWS\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_acd40623e1d81331.manifest 
      INFO: Begin assembly probing. 
      INFO: End assembly probing. 
ERROR: Activation Context generation failed. 
End Activation Context Generation. 

它好像在尋找C:\WINDOWS\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_acd40623e1d81331.manifest,這在我的計算機上不存在。我認爲這個文件來自Microsoft Visual C++ 2008 Redistributable Package (x64),但是當我安裝/修復它時,我仍然得到相同的錯誤。

我也碰到過這樣的same package from chocolatey,但其版本歷史記錄似乎表明,它的最新版本是9.0.30729.6161,而不是9.0.30729.9177我要找的。我不確定在哪裏可以找到這個版本的軟件包。

我已經看了這些問題,這似乎非常相似,我的情況:

編輯:我剛剛重新安裝使用x86和水銀有用。不理想,但至少這是一個解決方法。

+0

你從哪裏得到你想要安裝的軟件包?我可能能夠引導你到一個有用的郵件列表。 – durin42

+0

@ durin42我真的不知道9.0.30729.9177在我的電腦上。這是最令人不安的部分。 [我最近的線索](https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/3774a186-8151-433a-8122-db58d55b7af2/how-to-revert-an-old-msvcr90dll)建議這是自動發生的。 –

+0

9.anything不是Mercurial的合理版本號 - 最新的hg版本是3.8.3,所以我很困惑這個版本號從哪裏來。如果我不知道版本號是什麼意思,那將很難提供幫助。 – durin42

回答

0

Microsoft Visual C++ 2008 Redistributable Package 9.0.30729.9177似乎沒有公開可用,所以我最終重新安裝了Windows。現在我可以在安裝後運行Mercurial。