Unable to add an Enterprise Vault (EV) File System Archiving (FSA) folder

Article: 100028837
Last Published: 2021-08-23
Ratings: 0 0
Product(s): Enterprise Vault

Problem

When attempting to add an File System Archiving (FSA) folder in the EV Vault Administration Console (VAC) the following error is presented to the administrator at the end of the process:

Failed to save or update details for folder <folder_path> in the Directory Service. Could not mark the folder with File System Archiving information. Access is denied.

Error Message

A Dtrace of the mmc and EVFileSvrArcMngr processes shows the following error

(EVFileSvrArcMngr) <1292> EV-L {FolderAttributes.Load} Exception: Root element is missing. Info: Diag: Type:System.Xml.XmlException ST: at System.Xml.XmlTextReaderImpl.Throw(Exception e)| at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)| at System.Xml.XmlTextReaderImpl.ParseDocumentContent()| at System.Xml.XmlTextReaderImpl.Read()| at System.Xml.XmlTextReader.Read()| at System.Xml.XmlReader.MoveToContent()| at KVS.EnterpriseVault.FileServerArchive.FolderAttributes.Load() Inner:None
(mmc) <2328> EV-L {FileServerManagementStub.KVS.EnterpriseVault.FileServerArchive.IFileServerManagement.MarkRootFolder} Exception: Root element is missing. Info: Diag: Type:System.Xml.XmlException ST:|Server stack trace: | at System.Xml.XmlTextReaderImpl.Throw(Exception e)| at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)| at System.Xml.XmlTextReaderImpl.ParseDocumentContent()| at System.Xml.XmlTextReaderImpl.Read()| at System.Xml.XmlTextReader.Read()| at System.Xml.XmlReader.MoveToContent()| at KVS.EnterpriseVault.FileServerArchive.FolderAttributes.Load()| at KVS.EnterpriseVault.FileServerArchive.FileServerArchiveManager.KVS.EnterpriseVault.FileServerArchive.IAdminClientManagement.MarkRootFolder(String fileServerEntryId, String volumeId, String folderPath, String rfEID, Boolean remove, String reserved)| at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)| at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)| at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)|Exception rethrown at [0]: | at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)| at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)| at KVS.EnterpriseVault.FileServerArchive.IAdminClientManagement.MarkRootFolder(String fileServerEntryId, String volumeId, String folderPath, String rfEID, Boolean remove, String reserved)| at KVS.EnterpriseVault.FileServerArchive.FileServerManagementStub.KVS.EnterpriseVault.FileServerArchive.IFileServerManagement.MarkRootFolder(String fileServerEntryId, String volumeId, String folderPath, String rfEID, Boolean remove) Inner:None
 

Cause

FSA archiving utilizes an NTFS technology called Alternative Data Streams. When a folder is added to EV and that folder is given an archive point two hidden XML files are created in that particular folder called EVArchivePoint.xml and EVFolderPoint.xml. The exception Root element is missing is an XML error and it is stating that the root element is missing from an XML file. The cause is either a corrupted EVArchivePoint.xml or a corrupted EVFolderPoint.xml file.

If the folder was copied from another archived location that was already a target then the previous XML data will still reside on the folder.  

Solution

  1. Open an Admin PowerShell CMD window from the EV server using the Vault Service Account. 
  2. Run the following commands using the correct path to the folder to open the XML files.
    • Get-content \\fileserver\data -Stream evarchivepoint.xml
    • Get-content  \\fileserver\data -Stream evfolderpoint.xml  
  3. If it is determined the XML files need to be removed perform the following:
    • Remove-item \\fileserver\data -Stream evarchivepoint.xml
    • Remove-item \\fileserver\data -Stream evfolderpoint.xml
  4. Run the previous Get-content commands to validate the XML files are no longer present.  
  5. Attempt to add the folder target again through the VAC.  

 

Was this content helpful?