Hi, All
I am try to launch a program from a button on my asp.net page. Let's
say the program is NotePad.exe. and I came across this article.
http://support.microsoft.com/default...b;en-us;555134 and
follow the step in the article but could get it works.
First of all: I am quite confused here, as we knoe the asp.net is got
execute on IIS server. Does that mean the NotePad.exe is executing on
the server machine but on the client side (the desktop with the
browser)?
Anyway, I follow the steps in the article:
change the processModel in machine.config file and set the userName as
"SYSTEM". Stop and start IISAdmin service. But when I execute
Private void cmdTest_Click(object sender, System.EventArgs e)
{
try
{
System.Diagnostics.Process.Start("Notepad.exe");
}
catch(Exception ex)
{
String str = ex.Message.ToString();
}
The error message is Access is denied.
Is what I am trying to do reasonable and it it is, how? Thank you very
much
}