Sharepoint Search process cannot access the file

Clement, Phil 96 Reputation points

Having the following error for a number of content items in a SharePoint search crawl.

The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) ( SearchID = 23C293F9-B001-4EA9-BA16-C768E56459D0 )

Not sure how to resolve this one, only advice i can see in a farm restart

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,794 questions
0 comments No comments
{count} votes

Accepted answer
  1. Clement, Phil 96 Reputation points

    Ended up doing a farm restart and running a full crawl seems to have solved the issue.

1 additional answer

Sort by: Most helpful
  1. JoyZ 18,041 Reputation points

    Hi @Clement, Phil ,

    Whether the issue occurs when you crawl the Local SharePoint sites content source?

    If it is true, follow the article to configure the antivirus software to exclude folders from antivirus scanning.

    If the issue still exists, try to disable antivirus then full crawl again to check the result.

    In addition, you could use ULS viewer to check ULS logs for any other clues.

    Similar issue for your reference:

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments