29/12/2011

Gantt Views and SharePoint Crawls

I have been doing some cleanup on my 2010 dev environment and noticed the following error in my crawl log - "The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly"

Immediately I thought there was a comms or authentication issue but further investigation into the event logs provided more info.

Exception information:
Exception type: SPException
Exception message: This view requires at least Microsoft Internet Explorer 7.0, Mozilla FireFox 3.0, or Apple Safari 3.0.

It appears that the Gantt view is inaccesible to the crawler, or more specifically the user-agent the crawler uses.

If we look at the reg key for the user-agent it seems that the correct user-agent version is being used

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Global\Gathering Manager\Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS Search 6.0 Robot)

So although the Gantt view is verifying that the correct user-agent is being used to render the view, the gathering manager doesn't seem to be passing its user-agent properties through during the crawl.

1 comment:

  1. change the key to
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; MS-RTC LM 8; Tablet PC 2.0)
    Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS Search 6.0 Robot)

    ReplyDelete