Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problem with .NET Framework 2 & Windows 2003 Server

Posted on 2006-06-12
6
Medium Priority
?
262 Views
Last Modified: 2010-04-16
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.
0
Comment
Question by:MOH_R
  • 3
  • 3
6 Comments
 
LVL 25

Expert Comment

by:dstanley9
ID: 16885841
What error are you getting?  What is the code generating the error?
0
 
LVL 1

Author Comment

by:MOH_R
ID: 16901112
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 ?
0
 
LVL 25

Expert Comment

by:dstanley9
ID: 16902618
Is this a C++.NET app (or using any external DLLs written in C++)?  Is there anything in the event log?  
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 1

Author Comment

by:MOH_R
ID: 16926157
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 .
0
 
LVL 1

Author Comment

by:MOH_R
ID: 16926163
I forgot it , it is not a MFC program , it is .NET Framework program.

MessageBox.Show("Test","Test");
0
 
LVL 25

Accepted Solution

by:
dstanley9 earned 400 total points
ID: 16934260
See if this helps:

From http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=164465&SiteID=1:

The proper way is to use vcredist_x86.exe.  More details are mentioned at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=149470&SiteID=1 or to just link statically to the CRT using the /MT compiler switch.

For more info, please see:
http://msdn2.microsoft.com/en-us/library/ms235624.aspx
http://msdn2.microsoft.com/en-us/library/zebw5zk9.aspx
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question