wtorek, 24 stycznia 2012

The application has failed to start because the side by side configuration is incorrect

My application crashed with the following error message :

"The application has failed to start because the side by side configuration is incorrect please see the application event log or use the command line sxstrace.exe tool for more detail." for every application that i try to launch"

In order to diagnose this kind of erroros ( side-by-side )  I started SxSTracing , with the command you see below:

  • SxsTrace Trace -logfile:SxsTrace.etl  
  • Then run you app which causing the problem.
  • Once it is done press enter to stop SxsTrace. 
  • Run thic sommand to format log to readable format: sxstrace Parse -logfile:SxSTrace.etl -outfile:SxSTrace.txt

In my logs there was something like this:
"ERROR: Cannot resolve reference Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053".
ERROR: Activation Context generation failed.
End Activation Context Generation."
So I found correct one package ( Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update ) and installed it. 

Brak komentarzy:

Prześlij komentarz