Unable to delete any folder in Virtual Vault (VV)

book

Article ID: 100052471

calendar_today

Updated On:

Description

Error Message

A Client trace shows the following :

EVMSP: [PreOpScan::IsWasteBasketNameCollision] Exit: S_OK
EVMSP: [Base::Base] Enter
EVMSP: [Base::Base] Exit: S_OK
EVMSP: [Prop::Prop] Enter
EVMSP: [Prop::Prop] Exit: S_OK
EVMSP: [Folder::Folder] Enter
EVMSP: [Folder::Folder] Flags:None, EID: 0xB6C1A7AEAEC97743842F029FF316903D62800000, OBJECT_REF Folder Objects alive: 18
EVMSP: [Folder::Folder] Exit: S_OK
EVMSP: [IntraStoreCopyOrMoveFolder::IntraStoreCopyOrMoveFolder] Enter
EVMSP: [IntraStoreCopyOrMoveFolder::ShowWastebasketIfNecessary] Enter
EVMSP: [IntraStoreCopyOrMoveFolder::ShowWastebasketIfNecessary] Exit: MAPI_E_COLLISION
EVMSP: [IntraStoreCopyOrMoveFolder::IntraStoreCopyOrMoveFolder] Exit: S_OK
EVMSP: [Folder::~Folder] Enter
EVMSP: [Folder::~Folder] OBJECT_REF Folder Objects alive: 17
EVMSP: [Folder::~Folder] Exit: S_OK
EVMSP: [Base::~Base] Enter
EVMSP: [Base::~Base] Exit: S_OK
HDR: AutoReleaseSyncCoordinator::~AutoReleaseSyncCoordinator
HDR: EVMSPSyncCoordinator::Release
HDR: EVMSPSyncCoordinator::WaitForObject
HDR: ~EVMSPSyncCoordinator::WaitForObject
HDR: ~EVMSPSyncCoordinator::Release
HDR: ~AutoReleaseSyncCoordinator::~AutoReleaseSyncCoordinator
EVMSP: [Folder::CopyFolder] A COM error exception has been caught:80040604

 

Cause

The error MAPI_E_COLLISION is seen when the destination already contains a folder with the same name.

In a working scenario, when someone right-click deletes a folder in VV, the folder gets moved to the Deleted Items folder in VV. When that action is performed, the EV Add-In identifies the Deleted Items folder by checking the PR_IPM_WASTEBASKET_ENTRYID property. If this folder is not in the root of the data store, it moves it to the root and then performs the folder deletion.

This issue happens when the original 'deleted Items' folder is somehow moved to another folder hierarchy under the VV, and another 'Deleted Items' folder exists at the root of the data store. When a folder deletion is attempted, the EV Add-In identifies this 'Deleted Items' folder and checks if it is under the root of the VV data store. If not, it then tries to move the folder to the root. Since another folder named 'Deleted Items' already exists there, the move fails causing the folder deletion to fail.

 

Resolution

Rename the 'Deleted Items' folder seen directly under the root of the VV data store.

Issue/Introduction

Deletion of a folder in Enterprise Vault (EV) Virtual Vault (VV) does not work. The folder remains as is in Outlook without any apparent error.