Starting a process from ASP.NET

A

Ale

I try to start a program with process.start method.
It normally starts but no window is displayed, i only
see the application process running on the taskmanager.

I think the process is executed in a separate application
context belonging to ASP.NET.

Theres a way to display that window and to have processes
to execute in the normal system context?

Thanks.
 
B

Bill Priess

First off, just to make sure (yes, I have seen this before...), you do know
that the process that you are going to kick off is going to be done on the
SERVER, and not the CLIENT, right?

Ok, good.. got that out of the way... ;)


It doesn't really matter who kicked off the process, whether it be you or
the aspnet_wp... what matters is if the process that you started has a UI.
Try doing something simple like starting notepad.exe and see if that causes
the window to show up.

HTH,
Bill P.
 
A

Ale Ale

I try to start notepad.exe and calc.exe, they have a
UI and a main window.

I modified privileges of aspnet_wp process as follows :
in web config i have :

<identity impersonate="true" userName="system" password="autogenerate"/>

in machine.config :
<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="0:00:05" requestLimit="Infinite"
requestQueueLimit="5000" restartQueueLimit="10" memoryLimit="60"
webGarden="false" cpuMask="0xffffffff" userName="system"
password="AutoGenerate" logLevel="Errors" clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
responseDeadlockInterval="00:03:00" maxWorkerThreads="20"
maxIoThreads="20"/>

notpad starts, but still without a window.
I see the process notepad running in the taskbar, started by system
user.
 

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

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top