Re: Problems with Process.Start
- From: "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Jul 2006 17:01:18 -0500
If the process shows up in task manager, why do you think it didn't start?
Obviously, it did or it wouldn't be there. :) The problem here is that it
didn't show up in the same window station that you are in, so you don't see
the GUI because it was started by a different identity.
The thing to know about starting processes from within a web app is that
they MUST show no UI or require input from anyone or it will just sit there.
You don't want this. Notepad is a "semi-inappropriate" app to use for
testing with this since it is a GUI app.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Bill" <bill@xxxxxxx> wrote in message
news:n5oic2pv8fmnbvrtr03uivipq2pankcq8n@xxxxxxxxxx
I am trying to run an exe from my .net 2 website but I cannot get
even simple code to work outside of Visual studio debug
very simple example (but my exe behaves the same)
Dim myprocess As New Process
myprocess.StartInfo.FileName = ("Notepad.exe")
myprocess.Start()
In debug this open up a new notepad window - good - that is what I
want
But , using a browser, notepad does not show up. It does start since I
can see it in the task manager.
This suggests insufficient permissions with ASPNET but the examples on
the web suggest that this simple code should work anyway.
Am I missing something here?
Do I need to delve into impersonation etc or is there something wrong
with my IIS setup?
Suggestions would be much appreciated
Thanks
Bill
.
- References:
- Problems with Process.Start
- From: Bill
- Problems with Process.Start
- Prev by Date: Re: ASPNET User
- Next by Date: Windows authentication with ability to override
- Previous by thread: Problems with Process.Start
- Next by thread: Disable NT Windows Login for asp.net
- Index(es):
Relevant Pages
|