INTERNET APPLICATION DEVELOPMENT
MID MARKET ERP DEVELOPMENT
by Joe Zhou
Last week, I tested a Windows application one of my colleagues wrote. I was told before my test that it was working in the development environment. However, when I attempted to run it, it threw an exception every time that says:
“Error: 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.”
I checked the configuration file as the error message points out. But, after reviewing it several times, I didn’t catch anything apparent to contribute to the error.
I tried the command tool sxstrace.exe that diagnoses side-by-side problems. First of all, I started the tracing tool by use the following command line syntax.
Then, I ran my application to reproduce the error.
Next, I used the built-in parser provided by Sxstrace to generate a .txt file with the details of the error in a readable format.
Here is the description of the error. As you can see from the highlighted area, it indicates the line number where the error occurred and the actual error.
Sure enough, there is an ampersand symbol in line 18 that should have been encoded. After I made the change in the configuration file, it started working. Problem solved!
I hope you found this helpful. Happy coding!