Last post Nov 21, 2014 03:37 PM by rtyhhn54
Nov 21, 2014 12:05 PM|rtyhhn54|LINK
If I set the IdleTimeout in my Application Pool to 0, it does not time out.
I set the IdleTimeout in my web.config, it does not work. It times out to the value set in Application Pool settings.
<hostingEnvironment idleTimeout="10000" />
Server is IIS 7.5 MVC 5.2.2.
Any ideas why????????
Nov 21, 2014 01:32 PM|Siva Krishna Macha|LINK
1. Application pool timeout will be defined in ApplicationHost.config file as it is specific to IIS setting.
The path for it is: idleTimeout attribute of the
<processModel> element under <add> under <applicationPools>
2. However, worker process idle timeout setting present in web.config under processModel section:
idleTimeout: Specifies the period of inactivity, in the string format hr:min:sec, after which ASP.NET automatically ends the worker process.
3. Note: Each application pool can have one more more worker processes.
http://stackoverflow.com/questions/14105345/iis-app-pools-worker-processes-app-domains to understand more about this concept.
Nov 21, 2014 03:37 PM|rtyhhn54|LINK
Configures the ASP.NET process model settings on a Microsoft Internet Information Services (IIS) Web server. The
processModel section can be set only within the Machine.config file and affects all ASP.NET applications that are running on the server.
That's why I set it in the web.config <hostingEnvironment section.
I thought it would override the processModel setting.