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
Solved

request time out - IIS 6

Posted on 2011-03-10
3
1,467 Views
Last Modified: 2012-05-11
hI
We have a web server 2003 , IIS 6 and there is a web application. The user  calls an store procedure. This store procedure takes 40min to execute. The database is sql server.

We are gettin an request time out error.
*******************************************************************
Event Type:      Warning
Event Source:      ASP.NET 2.0.50727.0
Event Category:      Web Event
Event ID:      1309
Date:            3/10/2011
Time:            11:36:20 AM
User:            N/A
Computer:      SERVERWEB
Description:
Event code: 3001 Event message: The request has been aborted. Event time: 3/10/2011 11:36:20 AM Event time (UTC): 3/10/2011 4:36:20 PM Event ID: 2d9306e473e844969ea2abf1ee2d8ac7 Event sequence: 81 Event occurrence: 2 Event detail code: 0  Application information:     Application domain: /LM/W3SVC/1/ROOT/salesweb-9-129442480771963679     Trust level: Full     Application Virtual Path: /salesweb     Application Path: C:\inetpub\wwwroot\salesweb\     Machine name: SERVERWEB  Process information:     Process ID: 3652     Process name: w3wp.exe     Account name: NT AUTHORITY\NETWORK SERVICE  Exception information:     Exception type: HttpException     Exception message: Request timed out.  Request information:     Request URL: http://SERVERWEB/SALESWEB/UT/Lots/FormITEM.aspx     Request path: /salesweb/UT/Lots/Formitem.aspx     User host address: 10.188.4.88     User: domaine\wshawn     Is authenticated: True     Authentication Type: Negotiate     Thread account name: NT AUTHORITY\NETWORK SERVICE  Thread information:     Thread ID: 6     Thread account name: NT AUTHORITY\NETWORK SERVICE     Is impersonating: False     Stack trace:
  Custom event details:

***********************************

We have modified the settings of the application pool. But we get the same message in the event viewer.

Any idea how to resolve this ?

thanks
0
Comment
Question by:workflow80
3 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35097759
First off:  Holy crap.

Secondly:  Do you have a session timeout specified?  If so, what is it?  How long does it take before you get the request time out?
0
 

Author Comment

by:workflow80
ID: 35098419
In the application pool :

Recycle worker process ( in minutes) :  1740
Request queue limit ( Limit the kernel request queue : 1000
shutdown time limit ( in seconds)  : 5400

There is also another message in the event viewer :
Message : Thread was being aborted.
0
 
LVL 11

Accepted Solution

by:
lenordiste earned 500 total points
ID: 35099157
sounds like an excecution timeout caused by your stored procedure running for too long.
You can fix it by editing the ExecutionTimeout in your web.config file:
http://msdn.microsoft.com/en-us/library/e1f13641.aspx

to wait 40 minutes before timeout (the value is in seconds):
<httpRuntime  executionTimeout = "2400"/>

be aware that this might not be a good idea since if you have slow connections and a lot of users you may exceed the number of active connections IIS can handle.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

808 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