Lars Nielsen's Discoveries

December 1, 2009

SharePoint search crawler problems

Filed under: SharePoint,Troubleshooting — Lars Nielsen @ 6:24 pm
Tags: , ,

If you get an Access Denied error in the crawl log when trying to crawl a web application, check the following:

Go to Central Admin, pick your Shared Services, Search Administration.  Check the Default Content Access account – it should be a separate domain account specifically for crawling SharePoint (not used for anything else).

If that’s OK, go back to Central Admin, go to Application Management, go to Policy for Web Application.  Pick the web application that’s failing and check that the default content access account has Full Read permission.

If that’s not the problem, you might need to disable loopback on the index server.  I think you need to do this only on the index server not the FE servers.  It involves a registry edit.  The details are in this useful post and this KB article Basically the process is:

  • Run regedit
  • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  • Add a new DWORD called DisableLoopbackCheck and set the value to be 1
  • Reboot the server

Worked for me anyway.

I also found that the search crawler can’t crawl a content source unless there is something (usually a SharePoint site) at that level.  I was experimenting with managed paths setting the root path to be wildcard inclusion so that a site collection could have a friendlier URL like “http://myhost/mysitecollection” rather than the extra “sites” managed path that SharePoint adds in by default. There was no problem creating the site collections but if you try to set up a content source that starts at the root of the web application it won’t crawl, because there’s no site collection at the root level itself (i.e. there’s no site collection at “http://myhost”).

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: