Link to home
Start Free TrialLog in
Avatar of ac506
ac506

asked on

The Side-by-Side configuration information in .. contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application

Hi

  I have created one DLL lets say XYZ.DLL in VS2005 in Windows XP and a small test application XYZ.exe to test that dll. Its perfectly working fine on that machine .
When I try to use that XZY.exe and call XYZ.DLL on fresh installed Windows XP I got following error
" The System cannot execute the specified program"

I copied following files into system32 folder
msvcm80.dll
msvcp80.dll
msvcr80.dll

But still getting same error
Then I tried with dependency Walker and I got same error for both XYZ.exe and XYZ.dll

Error: The Side-by-Side configuration information in "XYZ.EXE" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).

Error: The Side-by-Side configuration information in "XYZ.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).

Also when i tired these exe and dll on windows 2000 fresh installed after copying msvcr80.dll it worked fine.
Only problem is in fresh Windows XP.


I am not sure how to resolve this.Is there some project settings need to be done.

Any ideas guys??/



 
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Hi ac506,

Is the .Net Framework 2.0 installed on this other computer?

Cheers!
Avatar of ac506
ac506

ASKER

Hi
I got the solution
We have Change Project settings
C/C++->Code Generation->runtime Library to Multi-threaded (/MT)

ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi ac506,

Your fixed work for me. Can you tell me why I need to do that ?

Thank you,