Login failed for user ‘IIS APPPOOL\DefaultAppPool’

This error has had me running round all the houses today, it was so annoying.

You need to set the Identity that IIS is using to that of Network Service.

Many thanks to zillionics. for pointing out that not only does your webapp have to have it’s app pool Identity set to Network Service but so does the DefaultAppPool (I guess there was a clue there in the error message!)

Here’s a link to their post: login-failed-for-user-iis-apppooldefaultapppool

In case you are having MSSQLServer issues here is a link on how to set the the permissions to allow the Network Service have access to your database:


One thought on “Login failed for user ‘IIS APPPOOL\DefaultAppPool’

  1. Jonathan Weavers

    Hey Dorothy-

    Your last post [Login failed for user ‘IIS APPPOOL\DefaultAppPool’] was freaking awesome. I have gone ahead and added your stuff to my Feedly account. Please keep me updated if you post anywhere else.

    Keep rocking –



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s