SharePoint Crawl Log Error: “The SharePoint item being crawled returned an error when attempting to download the item” .. for eg. *.aspx files


After some research I found a solution for that problem

Open Regedit on your search server/s
Navigate to this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Global\Gathering Manager

Change Value "UserAgent" from  "MSIE 4.01" to "MSIE 8.0"

Restart the SharePoint Search Service.

Open a SharePoint PowerShell

Get-SPSessionStateService

If this returns false then we need to deploy one

Enable-SPSessionStateService -DatabaseName “NameOfDatabase”


Comments (13)
  1. GBelzile says:

    I had this problem recently and it was caused by an unpublished page layout. One more thing to validate.

  2. Mithun Laskar says:

    I am facing the same issue on SharePoint 2013, I have tried the above steps with 15 hive but no luck. Please let me know what I can do further to resolve this issue.

  3. thomas says:

    Looong time ago, but as far as i can remember its just the useragent string from the internet explorer you have installed on your search servers.
    Just bing for: Whats my useragent….. Then youll find the msie value.
    Regards
    Thomas

  4. thomas says:

    Looong time ago, but as far as i can remember its just the useragent string from the internet explorer you have installed on your search servers.
    Just bing for: Whats my useragent….. Then youll find the msie value.
    Regards
    Thomas

  5. Manoj Mittal says:

    Hi Thomas,
    Please correct If I am wrong here..
    MSIE 8.0 is browser version on server, If I am using IE 10.0 then – should it be MSIE 10.0 ?

    Thanks

  6. odin2 says:

    Hi, i wanted to enable the SPSessionStateService as you suggested, but on executing this cmdlet i get following error:
    Enable-SPSessionStateService : The specified database already exists.
    At line:1 char:1
    + Enable-SPSessionStateService
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (Microsoft.Offic…teServiceCmdlet: EnableSessionStateServiceCmdlet) [Enable-SPSessionStateService], InvalidOperationException
    + FullyQualifiedErrorId : Microsoft.Office.Server.Administration.EnableSessionStateServiceCmdlet

    Why is it wrong to use the existing Database?

  7. sandeep says:

    this looks fine to me for setting the basic search enabled in Sharepoint 2010

  8. eamonn says:

    How do you restart the SharePoint Search Service?

  9. Anonymous says:

    Do this is referring to 2010 and/or 2013. I am facing same error in 2013. I checked the Registery I couldn't find 14.0 under Office Server. Any clue?

    Thanks,
    Khushi

  10. you can restart the Windows Service – SharePoint Server Search or if you want to be sure that everything will be reloaded simply restart your server. (of course one by one if you have a server farm)

  11. the 14.0 hive is referring to SP2010.
    If you have SP2013 you'll have a 15.0 hive instead!
    very best regards
    Thomas

  12. Anonymous says:

    Do this is referring to 2010 and/or 2013. I am facing same error in 2013. I checked the Registery I couldn't find 14.0 under Office Server. Any clue?

    Thanks,
    Khushi

  13. Anonymous says:

    Same error here, with MS Project Server addon – Using Cross Shared Services

Comments are closed.

Skip to main content