Application Pools not starting after iisreset

thijs picture thijs · Oct 29, 2008 · Viewed 38.6k times · Source

Before I start, I know using iisreset is considered bad practice, but this shouldn't happen anyway..

What we have:

  • Several machines with IIS6 on Windows Server 2003 R2 (both 64 and 32 bits)

  • Several WCF webservices (.NET runtime 2.0) deployed in several applications, each with it's own application pool, each application pool running under an other windows account.

What happens:

  • All appPools are started, all services operational
  • IISReset is executed (or the machine is rebooted)
  • IIS comes back up, but not all application pools start properly. Sometimes they all come back up, sometimes one or more pools won't start. They can be started manually however.

Is this "normal" iis behavior and should I just avoid using iisreset, or are we doing something wrong in our .NET code?

Answer

Booji Boy picture Booji Boy · Oct 29, 2008

The application pools should restart on an iisreset, but they do run outside of iis (in COM+) for reliability. This mean they may may not come back if the application is misbehaving, but IIS and the other apps will(should) come back. So yes, This is "normal".

P.S. I would also like to "OUT" myself as a proud user of iisreset. Bad practice? Bah! ;D