DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 938305 - Last Review: October 27, 2007 - Revision: 1.2

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://support.microsoft.com/kb/256986/ ) Description of the Microsoft Windows registry

SYMPTOMS

You are using Windows Internet Explorer 7. You try to log on to a Web site that requires Kerberos version 5 protocol authentication. However, you are prompted three times for your user credentials, even though you enter the correct information every time that you are prompted to do this. When you try to log on the Web site for the third time, you receive the following error message:
HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials. Internet Information Services (IIS)

CAUSE

This problem occurs if the Web site uses a CNAME resource record in the Domain Name System (DNS) to contact the server that initiates Kerberos authentication. When you use Internet Explorer 7 to access the Web site, Internet Explorer 7 uses the host name of the server instead of the CNAME resource record to contact the server. However, only the Service Principal Name (SPN) for the CNAME resource record is registered on the account that the server uses for the authentication. Therefore, the authentication process does not work.

RESOLUTION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this problem, install the hotfix that is mentioned in the Microsoft Knowledge Base article 911149. Then, enable the 911149 hotfix on the computer. To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main
  3. On the Edit menu, point to New, and then click Key.
  4. Type FeatureControl, and then press ENTER.
  5. Click the FeatureControl registry entry that you created in step 4.
  6. On the Edit menu, point to New, and then click Key.
  7. Type FEATURE_USE_CNAME_FOR_SPN_KB911149, and then press ENTER.
  8. Click the FEATURE_USE_CNAME_FOR_SPN_KB911149 registry entry that you created in step 7.
  9. On the Edit menu, point to New, and then click DWORD Value.
  10. Type Iexplore.exe, and then press ENTER.
  11. Right-click the Iexplore.exe registry entry, and then click Modify.
  12. In the Value box, type 1, and then click OK.

    Note To revert to the previous behavior for backward compatibility, reset the value of the Iexplore.exe registry entry to 0x0.
  13. Exit Registry Editor.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
911149  (http://support.microsoft.com/kb/911149/ ) Error message in Internet Explorer when you try to access a Web site that requires Kerberos authentication on a Windows XP-based computer: "HTTP Error 401 - Unauthorized: Access is denied due to invalid credentials"

APPLIES TO
  • Windows Internet Explorer 7
Keywords: 
kbtshoot kbprb kbexpertiseadvanced KB938305
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support