Access Denied due to invalid credentials in IIS7

I’ve been having issues with a few ASP.Net websites that we’re moving to IIS7 at work.  It didn’t happen to app of them, but to some it would prompt for network credentials, then throw an HTTP 401.1 “Access Denied Due To Invalid Credentials” error.  We’d hunt around for solutions and never find anything that worked.  Finally I tripped over the answer this morning:

Open the website in IIS, and under the IIS header double-click on Authentication to open.  Click and select Windows Authentication, then click “Providers” on the right under Actions.  Make sure NTLM is above Negotiate and click OK.

Problem solved!  Hope this helps someone!

Eric Oszakiewski

Eric Oszakiewski is a professional software developer based in Scottsdale, AZ with over 37 years of IT experience, and 19 years Native American Gaming experience. He is currently working as a .Net/SharePoint Development Lead for General Motors.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInYouTube

One thought on “Access Denied due to invalid credentials in IIS7”

Leave a Reply