|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Set Debug="false" in web.config get "Request Timed out"
Hi!
I have a simple page which just do a for loop for about 2 minutes. If I set Debug="true" in web.config. It runs fine. If I set Debug="false" in web config, I will get error "Request Timed out" after it is running for about one minute. Can anybody know why this happens? For your reference, here is the for loop. int i, j; string sName; for (i=1; i<200; i++) for (j=1; j<650000) sName = i.ToString() + ", " + j.ToString(); I will appreciate your help very much. Thanks, Aijun. |
|
#2
|
|||
|
|||
|
http://www.aspnetresources.com/artic...roduction.aspx
http://msdn2.microsoft.com/library/e8z01xdh(en-us,vs.80).aspx Hope these two help... Compliation tag in your machine.config has this attribute batchTimeout = default is 15 seconds see if your compilation takes more than 15 secs if yes change this attribute and try Thanks Last edited by srinivas_s; 05-23-2005 at 04:11 PM. |
|
#3
|
|||
|
|||
|
Thank you very much. Set executionTimeout to a larger number solves the problem.
Hi!
Thank you very much for your help. I add an element <httpRuntime executionTimeout="300" \> in my web.config solved the problem. But I am very curious about this problem. Why it did not the error "Request timed out" if I set Debug="true" in web.config. Please advise. Thanks, Aijun. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|