Launching an EXE from ASP.Net

G

Guest

Whenever I launch an application from asp.net, the exe shows up in Task Manager, but the GUI never displays. I've tried it many different ways using the system.diagnostics.process class and nothing works. I even tried launching notepad.exe and all I got was 8 separate instances of notepad.exe in the Task Manager. And when I tried to kill the applications, it gave me an "Access Denied" message box

Can anyone shed a little light on this issue?
 
B

bruce barker

programs started from a service (like iis) do not have access to the
desktop, so cannot open a window.

-- bruce (sqlwork.com)

rozdelisi said:
Whenever I launch an application from asp.net, the exe shows up in Task
Manager, but the GUI never displays. I've tried it many different ways using
the system.diagnostics.process class and nothing works. I even tried
launching notepad.exe and all I got was 8 separate instances of notepad.exe
in the Task Manager. And when I tried to kill the applications, it gave me
an "Access Denied" message box.
 
R

Roz DeLisi

Thanks Bruce...I understand now. And when a application is started from
a service, I would then assume you can't kill it...only the service that
created it can kill it. Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top