eDiscovery Platform Enterprise Vault Collection task 'PARTIAL_SUCCESS' is caused by MAPI_E_CORRUPT_DATA errors

book

Article ID: 100033271

calendar_today

Updated On:

Description

Error Message

2016-11-03 21:02:07,201 [23260] ERROR CEsaIMessage CWMsgToPst -  EsaOpenIMsgOnIStg failed for:D:\Clearwell1\EVCache\EV-temp-0.27.6.1164\MSGs\0\Journal-12345-8162800094432367-batch-0\153500000000000~200804161433300000~0~ABCDEF1234567890ABCDEF123456789.MSG hRes=-2147221221 MAPI_E_CORRUPT_DATA 0x8004011B at d:\builds\checkout_esa-v82_chf2\src\cpp\common\esaimessageimpl.cpp, Line 1708

2016-11-03 21:02:07,202 [23260] ERROR CEsaIMessage CWMsgToPst -  StgOpenStorageEx failed for:D:\Clearwell1\EVCache\EV-temp-0.27.6.1164\MSGs\0\Journal-461122-8162800094432367-batch-0\153500000000000~200804161433300000~0~ABCDEF1234567890ABCDEF123456789.MSG With short path: D:\Clearwell1\EVCache\EV-TEM~1.116\MSGs\0\JOB~1\153500~1.MSG hRes=-2147287007  0x80030021 at d:\builds\checkout_esa-v82_chf2\src\cpp\common\esaimessageimpl.cpp, Line 1688

2016-11-03 21:02:07,202 [23260] ERROR MailFileWriter CWMsgToPst - 103MailFileWriterException code, while trying to de-serailize the Message from File.D:\Clearwell1\EVCache\EV-temp-0.27.6.1234\MSGs\0\Journal-461122-8162800094432367-batch-0\153500000000000~200804161433300000~0~ABCDEF1234567890ABCDEF123456789.MSG

Cause

The main cause for the MAPI_E_CORRUPT_DATA error is a high recipient count on messages from Pre-2010 Exchange servers. In an Exchange 2010 or higher server environment, messages with a recipient count in excess of 1,000 are broken into multiple copies with a 1,000 recipient maximum per copy.

In a Pre-2010 Exchange environments, all recipients remain in a single message.  A large quantity of recipients or attachments can cause Outlook to exceed its memory allocation and marking the message as MAPI_E_CORRUPT_DATA while attempting to wrap the item into a PST.

Resolution

Increase Outlook memory as well as the Maximum Recipient and Attachment counts.

Note: You must be logged into the eDP appliance as the account that starts the EsaApplicationService.

1. On each eDP server, make the following registry settings:
Note: If the keys are not present, please create.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem
(DWord) SubsystemSharedMemMaxSize (Value) 0x00f00000

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem\Applications\Outlook
(DWord) SubsystemSharedMemMaxSize (Value) 0x00f00000

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Options\Mail
(DWord) AttachmentMax (Value) 0xffffffff
(DWord) RecipientMax (Value) 0xffffffff



If using Policies to push Office registry settings, include:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\Outlook\Options\Mail
(DWord) AttachmentMax (Value) 0xffffffff
(DWord) RecipientMax (Value) 0xffffffff



2. Restart the eDP server (not just the services).

3. Retry the Partial Success on items that are in an error state.

Issue/Introduction

eDiscovery Platfrom(eDP) Enterprise Vault(EV) Collection task ends in PARTIAL_SUCCESS. Inspection of the CwMsgToPst log shows MAPI_E_CORRUPT_DATA errors.