Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Web Timing out Max setings

Posted on 2011-09-14
3
Medium Priority
?
311 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 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

927 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