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??/



 
ac506Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
Hi ac506,

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

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

0
GranModCommented:
PAQed with points refunded (100)

GranMod
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thomasbonhamCommented:
Hi ac506,

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

Thank you,
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.