Problem
Export to Zip in the Enterprise Vault Search fails after applying KB5053594.
Error Message
Dtrace snippets for the 'w3wp' process shows the following:928 00:26:47.811 [9044] (w3wp) <4020> EV-H {EVS} Exception: Access to the path 'C:\WINDOWS\SystemTemp\EVExport_bb1e8b82-21a6-4002-8b58-09a58110696f.zip' is denied. Info:Zip file export failed.| || User: EV\tuser1 || Diag: Type:System.UnauthorizedAccessException ST: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)| at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)| at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)| at Telerik.Windows.Zip.ZipPackage.CreateFile(String fileName)| at Symantec.EV.Search.Server.Business.ZipExportHandler.Create()| at Symantec.EV.Search.Server.Business.ItemManager.ExportItems(ExportInput input) Inner:None
Cause
This is due to a change made to the location of the temporary folder to “C:\WINDOWS\SystemTemp” by applying KB5053594, and lack of permissions to access that temporary folder.
Solution
This issue has been addressed in the following release: Enterprise Vault 15.1.1 Maintenance Release.
You can grant permission to the “C:\WINDOWS\SystemTemp” folder as an interim measure.
At a minimum, the Enterprise Vault Server's 'Users' group object needs three permissions to allow the export process to succeed:
- Traverse folder / execute file
- Create files / write data
- Create folders / append data