IIS 7 and Above
DefaultAppPool Keeps Stopping, IIS7.5, Win7
Last post Apr 02, 2013 10:05 AM by kamunikk
Mar 07, 2013 06:12 PM|bmurrell30|LINK
I am trying to setup IIS 7.5 on Windows 7, and have run into an issue with the DefaultAppPool persistently stopping whenever I try to access localhost in my browser. This causes IIS to return a 503.0 error (service unavailable.)
I check the IIS manager, and I see that the server is showing as running, the default website is showing as running, and if I go to restart the Default App Pool, it will start just fine. However, when I try to access localhost again, the problem repeats.
I have tried removing and reinstalling IIS, and I have searched for system updates, with no success. Currently I have no other website active, and the only other application pool I have is the Classic .NET App Pool. Does anyone have any ideas about what's
Mar 07, 2013 06:21 PM|terridonahue|LINK
This could be because the application pool user does not have access to the website content. Have you verified that the user has at least read,list,execute access to the web root folder. The user to add, it if is not already there, is iis apppool\defaultapppool
in the NTFS permissions for the web root.
Mar 07, 2013 07:34 PM|bmurrell30|LINK
Thanks so much for the quick response. I wasn't able to locate a user called apppool\defaultapppool to add in the Security settings for my wwwroot folder, but I did see a group called IIS_IUSRS. I added full permissions to that group, and changed my default
app pool Identity to network service, and it's working now.
Thanks for your help.
Mar 07, 2013 08:41 PM|terridonahue|LINK
So glad that worked for you. For future reference, the application pool users are hidden special users so you will not see them in the user list. You can manually add them to NTFS permissions but adding them as 'iis apppool\DefaultAppPool' without the quotes.
The name following 'iis apppool\' is the exact name of the application pool. For example, if your application pool was named
www.app.com, you could add it in NTFS permissions by adding the following user: iis apppool\www.app.com. This will resolve to
www.app.com in the user list to assign permissions.
Apr 02, 2013 10:05 AM|kamunikk|LINK
If you are using a customized account as an application pool identity, then that account should be a member of IIS_IUSRS group. You can find the error messages in the event viewer.