2012-10-30 132 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

我在发布模式下重建可执行文件并解决了问题:-) –