Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2003

Tip: Looking for answers? Try searching our database.

Process.Start() - Works on DevBox but not on Server...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kautzky - 24 Nov 2003 21:21 GMT
Situation
On a Windows 2000 workstation a web service using System.Diagnostics.Process.  Successfully executes .exe and returns.

On Windows 2000 Server creates process, but does not execute.

I have given as many permission to the server (breaking every security policy I know of) trying to get this to work.  Yes, that includes giving "List Directory Contents permission to the ASP.NET account."

Any ideas?
Peter Vervoorn - 24 Nov 2003 22:34 GMT
> Situation
> On a Windows 2000 workstation a web service using System.Diagnostics.Process.  Successfully executes .exe and returns.
>
> On Windows 2000 Server creates process, but does not execute.
>
> I have given as many permission to the server (breaking every security policy I know of) trying to get this to work.  Yes, that includes giving
"List Directory Contents permission to the ASP.NET account."

> Any ideas?

Depending on your situation and requirements it could be possible to change
the settings in machine.config.
(modify the processModel section)
We had to run different processes as different users so we opted for
remoting.

Good luck,

Peter Vervoorn
Kautzky - 25 Nov 2003 15:16 GMT
I've already changed the User in the Process Model Section of Machine.config to "SYSTEM".  Any other ideas?
Dino Chiesa [Microsoft] - 27 Nov 2003 03:09 GMT
what do you mean "it does not execute."?
what happens?

When you grab the process output and stderr, what does it say?
(you can do this with Process.StartInfo ...)
-Dino

> I've already changed the User in the Process Model Section of Machine.config to "SYSTEM".  Any other ideas?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.