Solved

Web Timing out Max setings

Posted on 2011-09-14
3
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 60

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 60

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

615 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