Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

system.diagnostics.process help

Status
Not open for further replies.

zzzzzeke

Programmer
Mar 1, 2004
14
US
i'd wish to view the error i'm receiving when i'm trying to run an exe on the server that writes a file to the server.

where i'm getting hung up is if i don't have rights to the exe from the aspnet user, or if i don't have write access to the folder where the file will be written.


i'm also using forms authenication identity impersonation.

or is there a better way to execute a commandshell than system.diagnostics.process?



Thanks,
 
Using the Process class is how'd you do it.
You just need to make sure your program has the permissions first.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
i'm using the process class, and it looks like everyone has FULL CONTROL over the exe and folder where the pdb file will be created.

Thanks again,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top