Home > Uncategorized > The system cannot execute the specified program

The system cannot execute the specified program

I had compiled an application using Visual Studio 2008 (VS9) on a WinXP SP2 machine and was trying to deploy the same on a Windows 2003 Server. I was not able to make the application run as there were a lot of missing dll files viz. MSVCP90.dll, SVCR90.dll, MSJAVA.dll. So I borrowed those files from the development machine and made it available on the deployment machine for the installed application.

To my surprise, the dependency walker was showing a conflict with MPR.dll file for a missing symbol (WNetRestoreConnectionA). Since this dll is delayed loadable, the missing symbol should not be the reason for the application not starting.

Then I tried installing .NET 2.0 redistributable package in the deployment machine hoping to see the problem solved. As guessed right, the problem still persists. Dependency walker was still showing the following error message “Application failed to start because side-by-side configuration is incorrect”.

Later, luckily I found a clue to a similar problem at CodeGuru.com where it was adviced to install the redistributable VC++ 2005 package to get rid of the problem. I got the package from Microsoft Download Centre and installed it on my deployment machine. Now, my application is running happily. Thanks to people who write at CodeGuru.com.

Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.