Wednesday, June 17, 2009

401.1 error when browsing a Web site that uses Integrated Authentication on IIS 6

I've run into this error when setting up new sharepoint sites from the server running the central admin site ... When you setup a new website from the central admin using host headers and then try to bring it up in a browser after creating the site collection, you get a 401.1 error and are unable to authenticate. It's a known issue, here is the MS kb article about it:

http://support.microsoft.com/kb/896861/

I probably would have spent a few days trying to figure this out if not for my buddy Nitin who gave me the heads up about this before we ever installed the patch at work (Thanks much Nitin!). We ended up useing the "Disable loopback check" method to resolve the issue:


1. Click Start, click Run, type regedit, and then click OK.
2. In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3. Right-click Lsa, point to New, and then click DWORD Value.
4. Type DisableLoopbackCheck, and then press ENTER.
5. Right-click DisableLoopbackCheck, and then click Modify.
6. In the Value data box, type 1, and then click OK.
7. Quit Registry Editor, and then restart your computer.

No comments: