Running an SXS (Side By Side) Stack Trace

You can read the Microsoft TechNet sheet on SXSTrace here

1. Open an Administrative Command Prompt Window

2. Start the trace using:

sxstrace.exe Trace -Logfile:sxslog.log

The sxslog.log file will be placed in which ever folder you execute the program from.

3. Run the program you are having trouble with.

4. Stop the trace by pressing ENTER.

5. Convert the trace to something you can read:

sxstrace.exe Parse -logfile:sxslog.log -outfile:sxslog.txt

6. Read the contents and fix your problem!


As an alternative to leaving the command window open, you can also specify that it should run in the background by:

2. Start the trace using:

sxstrace.exe Trace -logfile:sxslog.log -nostop

4. Stop the trace by using:

sxstrace.exe Stoptrace