My website was down several times per day and when I check the application pool (IIS 7.5), I saw it was stopped and I must restart it manually. How can I setup application pool so that it automatically restarts after an error?
How to config application pool in IIS 7.5 automatically re-start when it was stopped
application-poolasp.netiis-7.5
Related Topic
- C# – An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode
- IIS AppPoolIdentity and file system write access permissions
- IIS 7.5: problem with Application pool
- C# – Login failed for user ‘IIS APPPOOL\ASP.NET v4.0’
- C# – The Web Application Project […] is configured to use IIS. The Web server […] could not be found.
- Python – ImportError: Cannot import name X
Best Answer
You will need to change the startMode for the application pool your website is running on from onDemand to AlwaysRunning. By default IIS sets all application pools to onDemand.
Source: http://msdn.microsoft.com/en-us/library/ee677285%28v=azure.10%29.aspx
In IIS 8 and above, the start mode setting is now directly available from the Application Pool's Advanced Settings.