401 - Unauthorized in IE7 only with windows authentication.

19,257

Solution:

IE is using Kerberos and not falling back on NTLM like Chrome and Firefox. You must force NTLM authentication in IIS7.5 by following these steps:

  1. Select your site.
  2. Double click authentication.
  3. Select "Windows Authentication" (ensuring that it is enabled).
  4. Click "Providers..." in the right hand column.
  5. Select NTLM and click "Move Up".

Link: windows authentication not working in ie7

Share:
19,257
torylor
Author by

torylor

Updated on June 04, 2022

Comments

  • torylor
    torylor almost 2 years

    I've created an intranet site that uses windows authentication

    In chrome I can access the site instantly, and in FF it requires Active Directory login. But with IE7 I'm getting the following error:

    401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied.

    Im unsure as to why its okay in other browsers but not IE? Any help appreciated.

    Thanks

  • torylor
    torylor over 12 years
    ive asked another user to login and they face the same issues. ie7 does not work for them too, (other browsers do). I didn't understand your last sentence.
  • Narf
    Narf over 12 years
    Do IE8 or IE9 work? What I say in my last sentence is that basically IE will automatically pass to the web server whatever username you use to login into Windows, but that username is not the same you want to use for your web application.
  • torylor
    torylor over 12 years
    is there an equivalent article for iis 7?
  • kmcc049
    kmcc049 over 12 years
    try here learn.iis.net/page.aspx/267/… or here trainsignal.com/blog/iis-7-troubleshooting for iis7. You the log fiel should still be available for you to look at in iis 7 anyway