Sometimes the Windows Authentication got broken on IIS servers so you cannot log in locally on the server. In that case you get the dreadfully error message
To fix this issue you can repair the Windows Authentication feature with the following PowerShell commands:
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
To fix this issue you can repair the Windows Authentication feature with the following PowerShell commands:
Remove-WindowsFeature Web-Windows-Auth Add-WindowsFeature Web-Windows-Auth
Comments
Post a Comment