Tag Archives: Crawl

SharePoint search result not found from specific document library

Advertisements
Advertisements

SharePoint search result not found from specific document library

I came across a situation where user is trying to search documents selecting the option "search in same site" instead of "all sites" from  search box and getting no result where as can find documents from other library with in same site. SharePoint search result not found from specific document library

Why such happens ?

The first point comes to mind for search error is  content not crawled, indexing not done for this situation.

Yes , its true but we need to think why  ?

As per my investigation I found the setting of the library as below

Draft-items-are-not-crawled-in-SharePoint

By default SharePoint only crawls major versions of files and draft items are only viewable by their creators. SharePoint is behaving as expected out of box.Draft items are not crawled in SharePoint

Resolution :

This behavior can be altered in Document Library Settings -> Versioning Settings -> Draft Item Security

Select the option "Any user who can read items".

This will allow all users to see draft items including the crawling account.

* Else you need to select "Create major versions" option or can publish the documents as major versions if want to get those documents in search result as per client wish.

https://support.microsoft.com/en-us/help/2304855/draft-items-are-not-crawled-in-sharepoint

Advertisements
Advertisements
Advertisements

parse error processing item failed sharepoint

parse error processing this item failed because of an unknown error when trying to parse its contents

There is parse error found in the Crawl log of a SharePoint 2013 environment. Processing this item failed because of an unknown error when trying to parsing its contents. (Error parsing document,Sandbox worker pool is closed,SearchID)

  1. In order to fix this you can try to perform the following action plan:
  2. Open "Local Policies
  3. Click on “User rights assignment
    adjust memory quotes-1276x416

    adjust memory quotes

  4. Make sure that the search service account has the following rights:"Replace a process level token”.
    replace process level token-1060x766

    replace process level token

  5. "Adjust memory quotas for a process"
    adjust memory quota-1054x762

    adjust memory quota

  6. "Impersonate a client after authentication"
    impersonate client-1052x758

    impersonate client

  7. Please make sure that the policies don't get changed afterwards.
  8. Run a clear configuration cache
  9. Start a full crawl and the errors should be gone.
User rights assignment in local security policy

Processing this item failed because of an unknown error when trying to parse its contents Crawl error SharePoint2013

There is crawling error in the Craw log of a SharePoint 2013 environment.

Processing this item failed because of an unknown error when trying to parse its contents. (Error parsing document ‘http://sharepoint.contoso.com/Project/abcd/Q_M/ABX/SitePages/Homepage.aspx’. Sandbox worker pool is closed.; ; SearchID = 820E86ZD-5252-4G5F-AK9U-2096ZV3L56PP )

In order to fix this you can try to perform the following action plan:

Open “Local Policies”

Click on “User rights assignment”

User rights assignment in local security policy

User rights assignment in local security policy

Make sure that the search service account has the following rights:

“Replace a process level token”

Replace Process Level Token Properties

Replace Process Level Token Properties

“Adjust memory quotas for a process”

adjust memory quotas process properties securitypolicy

adjust memory quotas process properties securitypolicy

“Impersonate a client after authentication”

Impersonate client authentication properties securitypolicy

Impersonate client authentication properties security policy

Please make sure that the policies don’t get changed afterwards.

After implementing the above changes please run a clear configuration cache

After clearing the cache, start a full crawl and the errors should be gone.

Item crawled error when attempting to download item example aspx file SharePoint

Error

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

Solution :

  1. Open Regedit on your search server/s
  2. Navigate to this registry key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice  Server14.0SearchGlobalGathering Manager
  3. Change Value “UserAgent” from  “MSIE 4.01”to“MSIE 8.0”
  4. Restart the SharePoint Search Service.
  5. Open a SharePoint PowerShell
    Get-SPSessionStateService
    If this returns false then we need to deploy one
    Enable-SPSessionStateService -DatabaseName “NameOfDatabase”
    Now lets go back and re-run that crawl