Enterprise Vault SharePoint archiving not working for SharePoint 2016 after upgrading Enterprise Vault version to 15.0.1 or later.
Problem
Enterprise Vault (EV) SharePoint archiving does not work for SharePoint 2016 after upgrading EV to 15.0.1 or later.
Error Message
{SPListWalker.ListFilesInFolder} Error listing files in the folder https://sp16.kvs.local/Documents/AllDocuments. Retrying in 15 seconds. System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not load type 'Microsoft.SharePoint.SPResourcePath' from assembly 'Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.| at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)| at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)| at KVS.EnterpriseVault.SharePointArchive.EVCustom.EVCustom.ListDocumentsInFolder(String inFolder, String inLibrary, UInt32 rowLimit, String pagingInfo, Int32 largeMetadataSize)| at KVS.EnterpriseVault.SharePointArchive.Framework.SPListWalker.ListFilesInFolder(String folderPath, String pagingInfo)
Cause
SharePoint 2019 has introduced a new class in Microsoft.sharepoint.dll ( v16.0.10337) SPResourcePath, which facilitates handling the SharePoint Paths properly.
This class is used in Enterprise Vault to fix the issues reported with the SharePoint paths with special characters. However, this class is only available in SharePoint Version 19 and later.
The above error is logged when an Enterprise Vault SharePoint archiving task attempted to archive from SharePoint 2016.
Solution
There are currently no plans to address this issue through a patch or hotfix in the current or previous versions of the software. However, it is scheduled to be resolved in the next major product revision. Please note that the product engineering team reserves the right to remove any fix from the targeted release if it does not pass quality assurance tests. Our plans are subject to change, and any actions you take based on this information, or your reliance on it, are at your own risk.