Problem
I recently came across this error while upgrading an old ASP.NET application from IIS6 to IIS7…
401 Unauthorized: Access is denied due to invalid credentials
How to fix it
Our ASP.NET application was using Windows Authentication to authenticate users.
It turned out that IIS7 was trying to use Kerberos authentication by default rather than NTLM.
The solution is to either configure Kerberos authentication or you can you can change the default security provider in IIS7 by ….
- Opening the IIS Manager Console
- Navigate to the web site
- Click the “Authentication” menu item
- Click the “Windows Authentication” provider
- Click the “Providers” link from the right hand menu
- Move “NTLM” to the top of the authentication providers list, above “Negotiate”
Latest posts by Shane Bartholomeusz (see all)
- Solved: Cmder – ‘ls’ is not recognized as an internal or external command, operable program or batch file. - 16th April 2024
- Solved: ‘Unable to find package specflow.plus.license’ error - 14th February 2024
- How to: Use GitHub Actions with OIDC to Authenticate with Azure - 16th November 2023
Leave a Reply