470,635 Members | 2,236 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,635 developers. It's quick & easy.

Started Process Hangs

JTF
Whenever I start an application from ASP.NET, the exe hangs, with Task
manager showing no cpu time.

Every exe I've tried hangs in the same way (notepad, cmd, ms access).
What runs is a .net exe and a .bat file, but the program they start hangs!

Same results with system.diagnostics.process and shell.

I really need help on this one... Thanks
Nov 17 '05 #1
3 1329
System.Diagnostics.Process should work for command line apps.
Apps that display UI will generally not work, because ASP.NET does not have
a desktop to run under.

To give it access to a desktop, thereby allowing most apps to run, try this:
Go into control panel, administrative tools, services.
Find all the WWW related services and, in their properties, check the
checkbox that says "Allow Service to Interact with Desktop"

Also, make sure the ASPNET user account has the necessary permissions to the
program's folder and any other folders that that program uses.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Developer for Hire
"JTF" <jo*********@amsec.com> wrote in message
news:uk*************@TK2MSFTNGP09.phx.gbl...
Whenever I start an application from ASP.NET, the exe hangs, with Task
manager showing no cpu time.

Every exe I've tried hangs in the same way (notepad, cmd, ms access).
What runs is a .net exe and a .bat file, but the program they start hangs!

Same results with system.diagnostics.process and shell.

I really need help on this one... Thanks

Nov 17 '05 #2
JTF
No luck. I changed IISADmin only. This was the only WWW related service I
saw. I expected to see aspnet_wp, but did not. Did I miss something?

Thanks for your help,
John FInley
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:u$**************@TK2MSFTNGP10.phx.gbl...
System.Diagnostics.Process should work for command line apps.
Apps that display UI will generally not work, because ASP.NET does not have a desktop to run under.

To give it access to a desktop, thereby allowing most apps to run, try this: Go into control panel, administrative tools, services.
Find all the WWW related services and, in their properties, check the
checkbox that says "Allow Service to Interact with Desktop"

Also, make sure the ASPNET user account has the necessary permissions to the program's folder and any other folders that that program uses.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Developer for Hire
"JTF" <jo*********@amsec.com> wrote in message
news:uk*************@TK2MSFTNGP09.phx.gbl...
Whenever I start an application from ASP.NET, the exe hangs, with Task
manager showing no cpu time.

Every exe I've tried hangs in the same way (notepad, cmd, ms access).
What runs is a .net exe and a .bat file, but the program they start hangs!
Same results with system.diagnostics.process and shell.

I really need help on this one... Thanks


Nov 17 '05 #3
You should find another related service or two down near the bottom.
They should have names like "World Wid Web Publishing" and maybe "WebClient"

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Developer for Hire
"JTF" <jo*********@amsec.com> wrote in message
news:eP**************@tk2msftngp13.phx.gbl...
No luck. I changed IISADmin only. This was the only WWW related service I saw. I expected to see aspnet_wp, but did not. Did I miss something?

Thanks for your help,
John FInley
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:u$**************@TK2MSFTNGP10.phx.gbl...
System.Diagnostics.Process should work for command line apps.
Apps that display UI will generally not work, because ASP.NET does not

have
a desktop to run under.

To give it access to a desktop, thereby allowing most apps to run, try

this:
Go into control panel, administrative tools, services.
Find all the WWW related services and, in their properties, check the
checkbox that says "Allow Service to Interact with Desktop"

Also, make sure the ASPNET user account has the necessary permissions to

the
program's folder and any other folders that that program uses.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Developer for Hire
"JTF" <jo*********@amsec.com> wrote in message
news:uk*************@TK2MSFTNGP09.phx.gbl...
Whenever I start an application from ASP.NET, the exe hangs, with Task
manager showing no cpu time.

Every exe I've tried hangs in the same way (notepad, cmd, ms access).
What runs is a .net exe and a .bat file, but the program they start hangs!
Same results with system.diagnostics.process and shell.

I really need help on this one... Thanks



Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by yaront | last post: by
1 post views Thread by Scott | last post: by
5 posts views Thread by Scott | last post: by
6 posts views Thread by Alexander Widera | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.