Total Pageviews

1/10/2010

ASP.NET application Time out Problem, Timeout in less than 20 minutes

Some time your asp.net application time out in less then 20 min which is actually default time out.
there are several causes for this problem.

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

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





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.

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

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


0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews