A quick post on two issues I've encountered lately. Both are related to SharePoint 2010 Search crawls that suddenly stopped working.
I'm just going to post the symptoms and what worked as solution for me.
The SharePoint set-up consists of two farms:
- Farm A hosts the collaboration web-applications, in which the users upload their documents
- Farm B hosts most of the service applications, including the search service application(s). These search service applications crawl content from Farm A. Furthermore, these service applications are consumed on Farm A (so people on that farm can search the crawled content).
Issue #1
The crawl log was filled with the following errors when crawling farm A:
The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from SharePoint site: Value does not fall within the expected range. ).
Solution
Apparently there was an issue with the web-apps that were being crawled. In order to get them crawled again, I
- Detached the content databases linked to the web-apps on farm A
- Removed the web-app (make sure to delete the related IIS site)
- Recreate the web-app
- Attach the old content db again
Issue #2
Some weeks later, my crawl log got filled with this lovely message:
The SharePoint item being crawled returned an error when requesting the data from the web service. ( Error from SharePoint site: *** Could not find part of the path 'c:\TEMP\gthrsvc_OSearch14\{random-text}.tmp'
Solution
Despite the error, that path was indeed present on all my machines in farm B. I tried fiddling with the permissions on that folder, but nothing helped.
In the end I just:
- Removed the consumed search service applications on farm A.
- Removed the search service application(s) on farm B
- Recreated the search service application(s) on farm B. Luckily for me, I had already scripted this procedure in PowerShell.
- Publishd the service apps again on farm B and consume them on farm A.
- Recrawled all content
Eruma kaminaattii
ReplyDelete