Nannette Thacker ShiningStar.net

ASP.net Web Application Development

Sponsors

News

See all Blog Posts by Nannette.

Nannette Thacker, consultant and owner of Shining Star Services LLC, specializes in development of custom dynamic database driven web applications utilizing ASP.net technologies. Nannette has been developing ASP sites since 1997. Nannette has written numerous articles on web development techniques and tutorials.

Nannette is the owner and developer of ChristianSinglesDating.com.

 Subscribe in a reader





View Nannette  Thacker's profile on LinkedIn

Setting Maximum Failures: Windows 2008 and IIS7 Application Pool Stopped

In IIS7, when your application pool errors so many times, it will automatically stop the application pool, thus taking your web application off line.

Service Unavailable


HTTP Error 503. The service is unavailable.

In your system events log, you will also have an error:

'A process serving application pool 'Pool Name' terminated unexpectedly...' 

To restart it, go to the application pool in IIS7 and select the stopped pool and restart it. 

This can be a real nuisance when you're debugging code and getting a lot of errors. To change the number of allowed failures, go to the application pool for the website you are working on in IIS7. Select it in the application pool list. Select "Advanced Settings" from the Actions panel on the right. Scroll down to Maximum Failures and change the number to a larger number. Mine was 5 by default and below I changed it to 50.

Then when you're done debugging/developing, change it back to a lower number as desired. 

This is great because you can create a pool for different applications and only increase this setting on the application that you're working on that is causing the failures. So be sure to assign your "buggy" application to its own pool, rather than having it share a pool with your "behaved" applications.

May your dreams be in ASP.NET!

Nannette Thacker

 

Comments

Swami.K said:

Hi Nannette:

Thanks for the workaround. This is one of the annoying issues I face while debugging my web application and this work around will help me.

Have a question.

How to apply this workaround in IIS 6?

Thanks.

Regards,

Swami.K

http://swami-k.blogspot.com

# January 8, 2009 11:55 PM

nannette said:

Swami,

Check out this link:

books.google.com/books

IIS6 MMC: Application Pool: Health Tab: Rapid Fail Protection: Failures

# January 9, 2009 10:18 AM

Swami.K said:

Hi Nannette:

Thanks. It helped :)

Regards,

Swami K

http://swami-k.blogspot.com

# January 12, 2009 11:49 AM

Setting Maximum Failures: Windows 2008 and IIS7 Application Pool Stopped | Web Hosting and Domains said:

Pingback from  Setting Maximum Failures: Windows 2008 and IIS7 Application Pool Stopped | Web Hosting and Domains

# January 19, 2009 6:46 AM

peter said:

How about the setting in IIS7 ?

# March 2, 2009 10:25 AM

nannette said:

This is IIS7.

# March 2, 2009 10:50 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)