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

K

Kautzky

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?
 
P

Peter Vervoorn

Kautzky said:
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
 
K

Kautzky

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

Dino Chiesa [Microsoft]

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top