HTTP Error 401.2 - Unauthorized IIS You are not authorized to view this page due to invalid authentication headers

This post describes how to fix the error for web applications in IIS:

HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.


Cause

This error can occur when you attempt to access an IIS web application and the Windows Authentication settings in IIS have been incorrectly configured.

Resolution

To resolve the issue, browse to the web application in IIS, go to Authentication and ensure Windows Authentication is enabled:



Next, with 'Windows Authentication' selected, press 'Providers...' in the right hand Actions pane, then check that both 'Negotiate' and 'NTLM' are present:


Comments

Popular posts from this blog

LG TV This app will now restart to free up more memory

LG TV Clear All Browsing History Data

Excel Import CSV not using "Use First Row as Headers"