Re: Problem of invoking a command line from ASP.NET 2.0?



First of all thanks for any response!
I want to start a command line command from C# 2.0.
Since .net 2.0 provides a way to specify a particular credential in
ProcessStartInfo object to run the command line, I am able to impersonate
a particular user to run this command.

However, no matter how simple the command is, say invoking Notepad.exe, I
always got the following error messages:

IMHO, you should not get a permission to start a process in ASP.Net
And even if you get it, are you using the complete path to Notepath.exe?


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------


.



Relevant Pages

  • Re: C# and System.Diagnostics.Process.Start
    ... // First parameter the rundll32.exe command. ... // Second parameter the shimgvw.dll command along with the file name. ... // Pass the ProcessStartInfo object to the Start function. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Problem of invoking a command line from ASP.NET 2.0?
    ... I got it working by specifying a complete path to ... In .Net 1.1 the FileName doesn't need to be a complete path as long as ... I want to start a command line command from C# 2.0. ... ProcessStartInfo object to run the command line, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Problem when redeined macro for floats with usepackage{color}
    ... tables) so that single spacing is used. ... % - User can specify draft copies, ... The \beforepreface command creates the title page, ...
    (comp.text.tex)
  • Re: Problem when redeined macro for floats with usepackage{color}
    ... % - User can specify draft copies, ... The \beforepreface command creates the title page, ... % so that single spacing is used. ...
    (comp.text.tex)
  • Re: not in domain
    ... You can use the netdom command as long as you have admin credentials on the ... NETDOM JOIN Joins a workstation or member server to the domain. ... If you specify a domain controller, ... VBScript & Windows PowerShell Training - ...
    (microsoft.public.scripting.vbscript)