Solved

Web Timing out Max setings

Posted on 2011-09-14
3
297 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now