By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,382 Members | 1,973 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,382 IT Pros & Developers. It's quick & easy.

Started Process Hangs

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.