PC Review


Reply
Thread Tools Rate Thread

System.Diagnostics.Process.Start fails on windows server 2003

 
 
Daniel
Guest
Posts: n/a
 
      12th Apr 2006
System.Diagnostics.Process.Start fails on windows server 2003

the process returns process.ExitCode == 0 but executing any process with
System.Diagnostics.Process.Start on windows xp works fine.

anything to do different for windows server 2003? some special permission
for the process that executes another executable with
System.Diagnostics.Process.Start ??

here is the code:

System.Diagnostics.Process process =
System.Diagnostics.Process.Start(info); // could be any executable file even
notepad.exe
process.WaitForExit();
if(process.ExitCode != 0)
{
throw new Exception("unable to execute");
}


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Firewall fails to start on Windows Server 2003 =?Utf-8?B?ZWdneQ==?= Microsoft Windows 2000 Networking 2 12th Oct 2009 03:24 AM
Windows Firewall fails to start on Windows Server 2003 =?Utf-8?B?ZWdneQ==?= Microsoft Windows 2000 RAS Routing 2 12th Oct 2009 03:24 AM
Windows Explorer fails and fails and fails... Bill Windows Vista General Discussion 30 10th Jun 2007 04:57 AM
Mirroring a Windows 2000 Server so that the backup server takes over when the main server fails Karl Strausser Microsoft Windows 2000 Setup 1 28th Sep 2005 01:43 AM
Windows update fails, freezes, fails to logon on hotmail, fails to send mail from outlook express, windows update errors, router settings, "MTU , Partial Loss of Internet Connection, and Performance" stevan Windows XP General 0 9th Aug 2004 07:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:15 AM.