473,770 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.diagnost ics.process and shell.

I really need help on this one... Thanks
Nov 17 '05 #1
3 1434
System.Diagnost ics.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*********@am sec.com> wrote in message
news:uk******** *****@TK2MSFTNG P09.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.diagnost ics.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.ne t> wrote in message
news:u$******** ******@TK2MSFTN GP10.phx.gbl...
System.Diagnost ics.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*********@am sec.com> wrote in message
news:uk******** *****@TK2MSFTNG P09.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.diagnost ics.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*********@am sec.com> wrote in message
news:eP******** ******@tk2msftn gp13.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.ne t> wrote in message
news:u$******** ******@TK2MSFTN GP10.phx.gbl...
System.Diagnost ics.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*********@am sec.com> wrote in message
news:uk******** *****@TK2MSFTNG P09.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.diagnost ics.process and shell.

I really need help on this one... Thanks



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1557
by: yaront | last post by:
Hi, I'm using proc_open to start a process on a WindowsXP server. If the process that I start crashes for some reason, the whole PHP parsing hangs. When opening the TaskManager I can see my process still exists, meaning it actually hasn't ended although it crashed. any ideas how to solve this?
12
2486
by: JD | last post by:
This is another Python problem, I think might be unrelated to the earlier bug I found, and eventually figured out how to report it to Sourceforge. This is related to a question I have about Python hanging up either from a shell, or by importing a module. This I would not consider a bug, but more on my inexperience with Python. If my code causes Python to just hang up, and not allowing me to break out with control-C or...
4
6593
by: Prince Kumar | last post by:
I joined a company recently and they have a java program which hangs (does nothing) after a while. This is no way consistent. It could succeed quite a few times and can fail a few other times. There is no consistency when it fails. Could anyone here shed some light on how to debug/resolve the issue. I guess IBM looked at the issue and were not able to pinpoint where the issue is. When the program hangs and when force the DB2...
1
1686
by: Scott | last post by:
I am trying to write an asp.net web page that will spawn a third party .exe file and return the results back to my asp page. I am able to write a vb.net program that will do this just fine. I redirect the output to a msgbox and display it on the screen. However, when I put this as an asp.net web page, the process just hangs. I am able to do other processes from the same web page and get the results, but when I try to launch this one...
5
1732
by: Scott | last post by:
So I can't figure out how to Google for this problem, I'll try asking for a solution here. Whenever I deploy changes, whether they are changed code-behind DLL's or ASPX/ASCX/ASAX pages to my staging and production web servers the process hangs. I'm guessing it's during the JIT compilation because if the process DOESN'T hang, the problem never occurs after the first time you hit the web application.
6
3385
by: Alexander Widera | last post by:
hello, if i start a program (an exe-file) with Process.Start(...) I don't have the required permissions that the programm needs (i could start the programm but the program needs special rights). So I added the StartInfo.UserName and Password to the Process. Now the program starts, but it hangs... nothing happens. In the task-manager the process is created, but it doesn't do anything - no cpu-load and no change of memory-usage. What...
4
4862
by: =?Utf-8?B?UmljaA==?= | last post by:
On a form - I have a datagridview which is docked to the entire form. The datagridview allows users to Delete and/or Add Rows. On the Form_Load event I Fill the datagridview source table with a sql DataAdapter (da) da.SelectCommand.CommandText = "Select * from Servertbl1" da.Fill(ds, "tbl1") so far, so good. If I add a row to the datagridview I use the following sqlDataAdapter code to update the server table - which works OK when...
2
6880
by: test3 | last post by:
Hello folks, I'm using System.Diagnostics.Process to start a thirdparty program (that works perfectly when started via command line). I'm using Process.StandardOutput to get the output of the program. That works for 95 %, but the other 5 % it doesn't. It seems to me that the started process just hangs, and therefor my program hangs, too (p.WaitForExit()). I researched that this only happens when the output of the program is longer than...
0
1798
by: eso40043 | last post by:
Hello, due to a memory leak (bug, I guess) in pyraf(or rather in IRAF) I have to fork an iterative process that goes through hundreds of image frames and does unspeakable things to them. In the child process, this returns a dictionary of image information for each image and is supposed to send it to the parent through pickle.dump. However, the child process hangs at pickle.dump and nothing happens. No error messages. The dictionary that is...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.