|
|
Subject:
ASP.NET Execution Timeout
Category: Computers > Programming Asked by: chrissandvig-ga List Price: $10.00 |
Posted:
13 Jul 2003 13:50 PDT
Expires: 14 Jul 2003 12:34 PDT Question ID: 229509 |
To quickly kill infinite loops within .aspx files on my Windows 2000 server I have set the following setting within my machine.config file: <httpRuntime executionTimeout="5" ... I think this should terminate infinite loops after 5 seconds. However, it seems to have no effect on infinite loops. I have also created a web.config file with the following: <configuration> <system.web> <httpRuntime executionTimeout="5" maxRequestLength="4000" /> <customErrors mode="Off"/> <compilation debug="true"/> </system.web> </configuration> Any idea why these are not terminating infinite loops on my machine and how I can terminate them? Thank you, Chris |
|
There is no answer at this time. |
|
Subject:
Re: ASP.NET Execution Timeout
From: stephenvakil-ga on 14 Jul 2003 10:20 PDT |
The scriptTimeout and executionTimeout are ignored if the debug attribute under compilation is set to true. Change this line: <compilation debug="true"> To this line: <compilation debug="true"> And it should at least give a timeout error eventually, but it may not be exactly 5 seconds. |
Subject:
Re: ASP.NET Execution Timeout
From: chrissandvig-ga on 14 Jul 2003 12:32 PDT |
Thank you! I set debug to "false" and the timeout now works. It takes 10-20 seconds, but as you said, it does timeout eventually. Thanks again, Chris |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |