Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- From: jeanbdenis@xxxxxxxxx
- Date: 14 Mar 2006 07:06:56 -0800
Hi Dominick maybe you can help with this question.
System.Diagnostics.Process p = new Process();
p.StartInfo.RedirectStandardOutput=false;
p.StartInfo.FileName = p_DecryptSourcePath+"gpg_run.bat";
p.StartInfo.UseShellExecute = false;
p.StartInfo.WorkingDirectory = p_DecryptSourcePath;
p.StartInfo.RedirectStandardError = true;
p.Start();
p.WaitForExit();
String str = p.StandardError.ReadToEnd();
p.Dispose();
the above code will not run under the impersonated account no matter
what I try.
please help.
the batch file is supposed to decrypt some files that's it.
.
- Follow-Ups:
- Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- From: Dominick Baier [DevelopMentor]
- Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- References:
- Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- From: Dominick Baier [DevelopMentor]
- Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- Prev by Date: Re: FileLoadException when running app with Impersonate from network folder.
- Next by Date: Signing documents with certificates
- Previous by thread: Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- Next by thread: Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- Index(es):
Relevant Pages
|