当前位置: 代码迷 >> 综合 >> The application has failed to start because its side-by-side configuration is incorrect.
  详细解决方案

The application has failed to start because its side-by-side configuration is incorrect.

热度:78   发布时间:2023-12-12 01:52:30.0

背景:

      前段时间写了一个exe程序,一直以来运行在xp,server 2003上面,都运行良好。最近需要把它重新部署到一台新的server上面,是Windows server 2008 R2 Standard版,不想却一直不能正常运行。

 

症状:

      当双击运行程序时,弹出错误窗口,如下:

 

打开 Event Viewer,错误信息如下:

Activation context generation failed for "C:/xxx/xxxxx/xxx.exe". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.

 

继续,用sxstrace.exe 来跟踪错误:

1. 开始运行

C:/Windows/system32>sxstrace.exe trace -logfile:c:/mytrace.etl
Tracing started. Trace will be saved to file c:/mytrace.etl.
Pre

  相关解决方案