Solved

Problem with .NET Framework 2 & Windows 2003 Server

Posted on 2006-06-12
6
255 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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 100 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Aspnet xml 2 36
Handling arrays 14 33
Linq help 1 16
COnsume rest client 6 11
Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now