Solved

Problem with .NET Framework 2 & Windows 2003 Server

Posted on 2006-06-12
6
258 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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