Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists)

Keep getting the following error when trying to access the website running on Anonymous Authentication?

“Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists)”

IIS_error

Solution:

  • Go to Internet Information Services Manager (cmd : inetmgr)
  • Select the website / Application
  • Double click on “Authentication” feature on the right hand side pane

auth

  • Select “Anonymous Authentication” and click on “Edit” action

editAuth

  • By default the identity would be something like “IUSR”, “IIS_IUSR”, etc…

selectUser

  • At this point you could specify a specific user or just select the “Application pool identity” option and go with the default application pool identity.
  • The application pool identity userid would be in the form of “IIS APPPOOL\{Application Pool Name}”.

For example:

If the application pool name is “DefaultAppPool”, then the application pool identity             userid would be IIS APPPOOL\DefaultAppPool.

  • After selecting the Anonymous Authentication Credentials, select the website / application folder and go to the security/permissions tab in the folder properties

editPermission

  • Add the userid / application pool userid in to the permissions and give appropriate permissions to the userid. In case where you want to specify the application pool identity userid. Change the “Location” to the local computer, type in the application pool identity userid and click “OK”, do not try to “Check Names” for this userid as you may not find it anywhere.

assignPermissions

  • Click “OK”, select the appropriate permissions and click “Apply”
  • Click “OK” twice
  • Done!!
Advertisements