Solved

Web Timing out Max setings

Posted on 2011-09-14
3
299 Views
Last Modified: 2012-05-12
Currently I have my web config set up like this:
<system.web>
            <httpRuntime maxRequestLength="16384" executionTimeout="120"/>
            <authorization>
                  <allow roles="Admins"/>
            </authorization>
            <trace enabled="false" requestLimit="20" traceMode="SortByTime"/>

But still we are getting time outs.   How much farther can I go?

I suspect it has more to do with limited worker threads to the database.
0
Comment
Question by:TimSweet220
  • 2
3 Comments
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 36540018
You only have your executionTimeout set to 120 seconds or 2 minutes; therefore, (1) that is not too high and (2) what is the exact error you are dealing with? Are you getting a controlled timeout from application. Please clarify.
0
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 total points
ID: 36541086
Additionally, I am involved with another question that reminded me that there are also ConnectionTimeout and CommandTimeout values you can set if using SqlConnection and SqlCommand from your .NET as an example. Definitely need to ensure you have the right combination of timeouts for your application need. My main point above is that I do not believe you have the timeout in the web.config set to the MAX as I believe you are reading the incorrect attribute. The one of interest there is executionTimeout, which is Int32 so have a max of 2,147,483,647 -- well above 120 and any value I would put in that setting.

ConnectionTimeout has a default of 15 seconds.
CommandTimeout has a default of 30 seconds.

Hope that helps!
0
 

Author Closing Comment

by:TimSweet220
ID: 36544267
Perfect...thanks.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question