Click here to Skip to main content
15,940,921 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have built an MFC application in Release mode using VS2005 (Windows XP) but when I run this exe on a PC (Windows 7) with VS2008, it doesn't run. It gives this error:

The application has failed to start because its side-by-side 
configuration is incorrect. Please see the application event log 
or use the command-line sxstrace.exe tool for more detail.

What could be the reason?

Also, what is normally the requirement to run an MFC application on a PC with XP/Windows 7 that doesn't have some version of Visual Studio installed?

Looking forward to your suggestions.
Updated 23-Mar-10 8:33am

I think you will have to install the VC++ 2005 runtime redistributables to the target machine. You can download it from
Share this answer
I know that VC++ 2005 redistribution packageis all that is needed to run MFC on a PC with no VS but it doesn't work and gives this error. What I wanted to ask is this happening because of VC9.0 already installed on PC.
I'll appreciate more suggestions.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900