From: Jonas on

I have problems with an application pool that gets disabled. I have set up
the pool correctly and it runs fine for a couple of days or weeks. Then ,
suddenly, user get a "Service unavailable" error. After that I can restart
the app pool manually without any problems.

The error messages I recieve seem to be rather commonly known.

The event viewer contains the following warning"
"The identity of application pool 'PoolName' is invalid, so the World Wide
Web Publishing Service can not create a worker process to serve the
application pool. Therefore, the application pool has been disabled."

Followed by this error:
"A failure was encountered while launching the process serving application
pool 'PoolName'. The application pool has been disabled."

I also found a reference to an error code (8007051f) in the warning, which
should mean "There are currently no logon servers available to service the
logon request"

So, that would explain my problems. However, there must be some way for me
to avoid the app pool from being disabled when a logon server is temporarily
unavailable? Or how should I handled this without having to restore the app
pool manually each time?