ASP.NET Application Is Timeout Less Than 20 Minutes

Problem

ASP.NET application is timeout less than 20 minutes. You want to increase the timeout value.

Solution

There are several causes for this problem.

1. Change the session state configuration in Web.config (Default: 20 minutes)

	      <sessionState timeout="120" cookieless="AutoDetect">
	

2. IIS worker process recycle too often

IIS worker process may recycle less than 20 minutes if you have lots of applications share a same application pool. Usually it will fix the problem if you put your application in a stand alone application.

3. Change the IIS worker process idle timeout value (Default: 20 minutes)

You can change it at IIS Manager > Application Pools > DefaultAppPool > Properties > Performance.

IIS worker process idle timeout value

Related Resources

Navigator

Other Knowledgebase Articles

Shared Hosting

# of Domains: 2
# of SQL Server Databases: 2
Disk Space: Unlimited
Bandwidth: Unlimited
Email: Unlimited
SQL Server 2008 R2
Monthly: $4.99
More Information About Unlimited Shared Windows Hosting Plan

Windows Hyper-V Server

Dedicated Memory:2GB
Disk Space: 200GB
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $49.99
More Information About Unlimited Windows Hyper-V Server

Dedicated SQL Server

CPU: Intel Dual-Core Sandy Bridge I3-2100
RAM: 8GB RAM
Disk: 2x320GB SATA
RAID: Host RAID 1
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $99.00
More Information About Unlimited Dedicated SQL Server