Server error 401: Access is denied due to invalid credentials

Server error access is denied
Server error access is denied

I stumbled on this error when browsing a new ASP.NET site I was configuring. This error was caused on my server because the Application Pool identity that was running the ASP.NET website process had not given permissions to guest users. To resolve this

  • In IIS Manager select the website
  • Go into the Authentication settings in the content page on the right
  • Go into the properties for the guest user (Anonymous Authentication)
  • Change the anonymous user identity to “Application pool identity”

Why is this not the default?

Enable anonymous authentication
Enable anonymous authentication
Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s