Enterprise Vault archiving of SharePoint 2019 fails, if the folder name has # or % characters in it.

book

Article ID: 100062709

calendar_today

Updated On:

Description

Error Message,

Snippets from the dtrace log:

2373 21:42:59.405 [21444] (EvSharePointArchiveTask) <11784> EV-H {SPFolder.StampArchiveFolderID} Error Stamping ArchiveFolderVEID for folder test#. Retrying in 15 seconds. System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Object reference not set to an instance of an object.| 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.StampFolderWithArchiveFolderInfo(String folderUrl, String archiveFolderId)| at KVS.EnterpriseVault.SharePointArchive.DataObjects.SPFolder.StampArchiveFolderID(String archiveFolderID)

Error in task report:

http://sp2019.test.com/TR/CT2623/D/~!@$^%26'()_-+=dddd/test%23.txt *** Error *** Server was unable to process request. ---> The system cannot find the file specified. (Exception from HRESULT: 0x80070002) Error listing versions of the file

Mitigation

Currently, there is no mitigation available to this problem as the issues need to be resolved by Microsoft. They will need to enhance the API in such a way that it gives the desired response if the folder and file names on SharePoint have # or % characters in them. This observation has been reported to Microsoft and further updates are awaited.

Workaround

{C}%3C!%2D%2Dstartindex%2D%2D%3E

Modify the folder name to not contain # or % characters in it.

Cause

As per a Microsoft Article, published on 22-Feb-2023, Microsoft has rolled out a new set of enhancements in SharePoint 2019 (On-Premise). SharePoint Server 2019 now supports # and % characters in file and folder names, completing our support for all valid Windows file and folder name characters. This makes it easier to sync content from personal storage devices to SharePoint.

Enterprise Vault connects to SharePoint (all versions) using the publicly available SharePoint API. We have observed that in the above-mentioned scenario, the call to fetch the Item details is failing due to the underlying Microsoft SharePoint APIs failing.

Issue/Introduction

Enterprise Vault (EV) archiving of SharePoint 2019 fails if the folder name has # or % characters in it.

Additional Information

JIRA: 5902