1

Occasionally when I reboot one of the servers at a client site the Web Apps running in IIS do not automatically start backup when the server is done rebooting. The IIS service starts up just fine, its set to Auto Start and there are no errors in the event log. Just none of the Web Apps are running, I have to click each one and click start. This only happens occasionally, as they usually start but its completely baffling.

Any thoughts? Its a mix of Classic ASP and ASP.NET applications. There are a total of 4 application pools running between around 8 web applications.

emalamisura
  • 2,816
  • 2
  • 29
  • 34
  • Please check whether you have the same problem as the one discussed at: http://stackoverflow.com/questions/246598/application-pools-not-starting-after-iisreset – Anil Mathew Apr 18 '12 at 16:24
  • Hi Anil, nope that is not related to my issue. On iisreset all my apps are started and running. – emalamisura Apr 18 '12 at 17:24

1 Answers1

1

I have seen this happen when apps rely on a resource that is not yet available to the server, such as a network share.

Some people combat this problem by writing a Windows Service who's job is to check for such conditions and start the application.

rick schott
  • 21,012
  • 5
  • 52
  • 81
  • I've considered this, but it sure does seem like a bug with IIS...Pretty lame! – emalamisura Apr 18 '12 at 20:43
  • .NET 4 has auto-start that may help: http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx – rick schott Apr 19 '12 at 13:46