Yes, your problem is almost certainly related to security.
First you must decide if you're trying to open notepad on the client or the
server.
You're going about things completely wrong if your goal is to open a file on
the client.
You're close if your going for the server, but the default ASPNET account
has no desktop on which to display any UI because it is intended to be a
stand alone windows service that operates when nobody is around to see any
UI. Therefore you'll only have luck running programs on the server if they
don't require any desktop interaction and the ASPNET user account has
permission to all the related folders. For this part of it you can use
impersonation.
For example, you can add a line similar to this to your web.config file:
<identity impersonate="true" userName="domain\MyAppUser">
password="password"/>
Here's more info on impersonation:
http://msdn.microsoft.com/library/de...ersonation.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Robert Megee" <> wrote in message
news:...
>I can't get Process.Start() to work from a Web application.
> Is this because of the security settings in the browser?
> Since this is for a private network, security isn't an issue.
> Anyone know how to make this work or is there another way?
>
> I've tried:
>
> Process proc = new Process();
> proc.StartInfo.Startfile = "c:\\winnt\\notepad.exe";
> proc.Start();
>
> and the basic way:
>
> Process.Start("c:\\winnt\\notepad.exe");
>
> It will complain if it can't find the file and dosn't give
> anyerror or result if it can.
> The code is is C#.
>
> any clues?
>
> Thanks,
>
> Robert Megee