My digital notepad RSS 2.0
 Monday, February 26, 2007

I wanted to set up an IIS 6.0 application pool for an ASP.NET application and I wanted it to run under a separate local user account. I created the pool and set the correct identity but when I opened the web all I got was a big and ugly "Service Unavailable" message.

In the eventlog I got this message:

Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1021
Description:
The identity of application pool, 'NewAppPool' is invalid.  If it remains invalid when the first request for the application pool is processed, the application pool will be disabled.  The data field contains the error number.

It turned out I had forgotten to make the user a member of the IIS Worker Process Group (IIS_WPG) which provides the minimum set of privileges and permissions required to start and run a worker process on a Web server.

 
Monday, February 26, 2007 12:34:30 PM (Central Europe Standard Time, UTC+01:00)  #    Comments [0] -

Links
Twitter updates
    Archive
    <February 2007>
    SunMonTueWedThuFriSat
    28293031123
    45678910
    11121314151617
    18192021222324
    25262728123
    45678910
    About the author/Disclaimer

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright 2012
    Glenn F. Henriksen
    Sign In
    Statistics
    Total Posts: 46
    This Year: 0
    This Month: 0
    This Week: 0
    Comments: 31
    All Content © 2012, Glenn F. Henriksen
    DasBlog theme 'Business' created by Christoph De Baene (delarou)