Error when crawling pages with Gantt Chart webpart

Problem

You have Gantt chart views in your webparts. During a search crawl, the following messages are logged in ULS.

Microsoft.SharePoint.SPException: This view requires at least Microsoft Internet Explorer 7.0, Mozilla FireFox 3.0, or Apple Safari 3.0.    at Microsoft.SharePoint.WebControls.Gantt.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.AddedControl(Control control, Int32 index)     at Microsoft.SharePoint.WebPartPages.ListViewWebPart.CreateChildControls()     at Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.CreateChildControls()     at System.Web.UI.Control.EnsureChildControls()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Solution

  • Open RegEdit on your search server.
  • Browse to HKLM\SOFTWARE\Microsoft\Office Server\14.0\Search\Global\Gathering Manager
  • Change the UserAgent key from:

Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS Search 6.0 Robot)

to this

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT; MS Search 6.0 Robot)

  • Finally, restart your crawl servers.

Tags:

One Response to “Error when crawling pages with Gantt Chart webpart”

  1. Jake May 11, 2013 at 1:56 am #

    I found that there are two places where that key needs to be changed.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Global\Gathering Manager

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Global\Gathering Manager

    Once I changed it in both locations, I stopped recieving those errors.

Leave a Reply

%d bloggers like this: