2012-10-30 165 views
1

在CommandPrompt中啓動帶有參數的EXE時遇到並行配置錯誤。這個EXE是第三方的EXE,並且確保它可以工作。啓動EXE時出現SidebySideConfiguration錯誤

但它不起作用在我的系統中 - 我錯過了什麼?我在事件日誌中使用了sxstrace來查看細節 - 下面是我得到的。我無法解釋。

我已經在我的機器上安裝了VS 2012 - 另外還有VC++ 2012/2010/2008 redistributable packages。

================= Begin Activation Context Generation. Input Parameter: Flags = 0 ProcessorArchitecture = x86 CultureFallBacks = en-US;en ManifestPath = C:\Users\20121011_PR2_1\Desktop\HotPlugUnplug Stress\SourceCode\Soft_BIOS\bin\DvmuInstaller\Installer.exe AssemblyDirectory = C:\Users\20121011_PR2_1\Desktop\HotPlugUnplug Stress\SourceCode\Soft_BIOS\bin\DvmuInstaller\ Application Config File = ----------------- INFO: Parsing Manifest File C:\Users\20121011_PR2_1\Desktop\HotPlugUnplug Stress\SourceCode\Soft_BIOS\bin\DvmuInstaller\Installer.exe. INFO: Manifest Definition Identity is (null). INFO: Reference: Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" INFO: Reference: Microsoft.VC90.DebugMFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" INFO: Resolving reference Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". INFO: Resolving reference for ProcessorArchitecture x86. INFO: Resolving reference for culture Neutral. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL. INFO: Attempt to probe manifest at C:\Users\20121011_PR2_1\Desktop\HotPlugUnplug Stress\SourceCode\Soft_BIOS\bin\DvmuInstaller\Microsoft.VC90.DebugCRT.DLL. INFO: Attempt to probe manifest at C:\Users\20121011_PR2_1\Desktop\HotPlugUnplug Stress\SourceCode\Soft_BIOS\bin\DvmuInstaller\Microsoft.VC90.DebugCRT.MANIFEST. INFO: Attempt to probe manifest at C:\Users\20121011_PR2_1\Desktop\HotPlugUnplug Stress\SourceCode\Soft_BIOS\bin\DvmuInstaller\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL. INFO: Attempt to probe manifest at C:\Users\20121011_PR2_1\Desktop\HotPlugUnplug Stress\SourceCode\Soft_BIOS\bin\DvmuInstaller\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST. INFO: Did not find manifest for culture Neutral. INFO: End assembly probing. ERROR: Cannot resolve reference Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". ERROR: Activation Context generation failed. End Activation Context Generation.

+0

夥計,有什麼幫助嗎? –

回答

5

可執行文件正在查找VC 9.0 Common Run Time(Microsoft.VC90.DebugCRT)的Debug版本。該庫不是Common Runtime的可再發行組件包的一部分。我忘了爲什麼微軟有這個規定。也許這是一個安全或法律問題。

你有三個選擇:

  1. 向誰給你的可執行重建在釋放模式的可執行文件,這樣的人對CRT的發行版本的可執行文件的鏈接。這是您從可再發行組件包安裝的版本。
  2. 詢問給你可執行文件的人發送CRT的DebugCRT版本。查看VC文件夾的Visual Studio安裝位置。然後尋找redist\Debug_NonRedist\x86
  3. 使用C++安裝Visual Studio/Visual Studio express。這將在您的機器上安裝CRT的調試版本。
+0

我在發佈模式下重建可執行文件並解決了問題:-) –