Documents‎ > ‎3. Windows Server‎ > ‎

How to enable SharePoint 2010 Search in SharePoint Web Application with Claims Based Authentication

When creating new site on fresh SharePoint 2010 install with Claim Base authentication you may see warning message will start in your event logs:

The start address http://localhost/contentdbid={DC6B2934-9E40-4171-BAF8-F82B07FA463D} cannot be crawled.
Context: Appl​ication ‘Serve_search_queries_over_help_conte​nt’, Catalog ‘Search’
​Details:
​Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has “Full Read” permissions on the SharePoint Web Application being crawled. (0×80041205).​​​​​​

If you get this error your site could not be searched when users type any keyword in site search box.
Try following instructions to fix this:

Disable the loopback check

You can do any of following options:

Option 1: Manual

  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 perform IISRESET or restart your computer.

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

Option 2: Import registry file

  1. Download " DisableLoopbackCheck.reg" file that attached to this document. 
  2. Right click on "DisableLoopBackCheck.reg" file and select merge command.
  3. Select Yes, if confirm window appear.
  4. Perform IISRESET or restart your computer.

Option 3: Run PowerShell Command

  1. execute the following command in Powershell:
    New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword
  2. Perform IISRESET or restart your computer.
Ć
DisableLoopBackCheck.reg
(0k)
Mohammad Nikravan,
Jun 21, 2012, 3:03 PM
Comments