Problem with .NET Framework 2 & Windows 2003 Server

Hi experts.

I have installed .NET Framework 2.0 on Windows Server 2003 SP1 R2.
when I want to run a program that I previously built on Windows XP and VS .NET 2005, Windows 2003 Server Generate an error.
I installed .NET Framework 2.0 on other windows O.S. and I had no problem with running my programs.
How I can solve this problem on Windows 2003 Server.

Thank you very much.
Who is Participating?
See if this helps:


The proper way is to use vcredist_x86.exe.  More details are mentioned at or to just link statically to the CRT using the /MT compiler switch.

For more info, please see:
What error are you getting?  What is the code generating the error?
MOH_RAuthor Commented:
when I want to run an .exe file , this error generates :

This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

this error dose not generate on Windows 2000 family and Windows XP.
how I can solve it ?
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Is this a C++.NET app (or using any external DLLs written in C++)?  Is there anything in the event log?  
MOH_RAuthor Commented:
Yes, I write a very simple C++ .NET 2005 Program that show a MessageBox.
But I can not run the .exe file on Windows 2003 Server + .NET Framework 2.0 .
I wrote other program and test them, but none of them executed .
MOH_RAuthor Commented:
I forgot it , it is not a MFC program , it is .NET Framework program.

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.

All Courses

From novice to tech pro — start learning today.