Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > ASP.NET

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 05-23-2005, 02:55 PM
Ai_Jun_Zhang Ai_Jun_Zhang is offline
Registered User
 
Join Date: May 2005
Posts: 2
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.
Reply With Quote
  #2  
Old 05-23-2005, 04:07 PM
srinivas_s srinivas_s is offline
Registered User
 
Join Date: May 2005
Location: UK
Posts: 278
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.
Reply With Quote
  #3  
Old 05-23-2005, 06:05 PM
Ai_Jun_Zhang Ai_Jun_Zhang is offline
Registered User
 
Join Date: May 2005
Posts: 2
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.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:29 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.