IIS 5 & IIS 6
Launching exe on a web server
Last post Apr 21, 2008 11:04 AM by tomkmvp
Apr 17, 2008 11:49 AM|Gil Strauss|LINK
I have an asp.net page that should lauch a Windows application on the server side (that wiered scenario is used for automatic testing). When doing so, I can see the Windows application process in the task manager but the window itself is invisible. When
running the same scenario in debug mode the window is visible.
I can see in the task manager that the user executing the process is the same user defined for the virtual directory (in the IIS manager) and it is the user who is logged in to the system.
I've tried this with both IIS 5 and 6.
Is there a way to configure the IIS to make the windows application to be visible?
Apr 18, 2008 10:55 AM|tomkmvp|LINK
Apr 21, 2008 10:37 AM|Gil Strauss|LINK
Thanks for your reply.
I've followed that article but it still doesn't work. The only way to make it work is to set impersonating to false in the web.config (but unfortunately it can't be done in my case).
So without impersonation, the Win application is executed by the System user and is visible, but with impersonation, the application is executed by the logged in user and is invisible.
Apr 21, 2008 11:04 AM|tomkmvp|LINK
No idea - since this application was never intended to be used this way.