Problem
Event ID 2850 a noted below is seen during an archiving run.
Error Message
EventId: 2850
Event Category: Archive Task
Whilst post processing a message an error occurred in CArchivingAgent::PostProcessArchivedItem() whilst calling CExchangeShortcutAccessor::BuildFromSessionAndLocation().
Error returned from BuildFromSessionAndLocation(): 80004005
V-437-2850
Dtrace shows:
343195 07:27:19.741 [11956] (ArchiveTask) <7320> EV:L :AgentMessageDispenser::ActivateObject() |Called server side object, with arguments: |m_pIArchivingAgentUpdate->PostProcessArchivedItem(OriginatingAgent = "1F7BE328E080E1B4C962B5969B43D0A311011z00EVSSite01",| m_pIShortcutAccessor,| m_pILocation,| SavesetID = "201202270310570~201202051750490000~Z~111B14FA1C3EF78DFFDD1E13473ED251",| VaultID = "1337186EAFE272747864FE3DDED5C4BFB1110000EVSSite01",| nRetryCount = 1,| NULL);| |
1343590 07:27:20.413 [11956] (ArchiveTask) <7320> EV~E Event ID: 2850 Whilst post processing a message an error occurred in CArchivingAgent::PostProcessArchivedItem() whilst calling CExchangeShortcutAccessor::BuildFromSessionAndLocation().| |Error returned from BuildFromSessionAndLocation(): 0x80004005 |
1343595 07:27:20.413 [11956] (ArchiveTask) <7320> EV:H CArchivingAgent::PostProcessArchivedItem Time Taken to Post Process Item - 201202270310570~201202051750490000~Z~111B14FA1C3EF78DFFDD1E13473ED251: 0.664512 secs
1343596 07:27:20.413 [11956] (ArchiveTask) <7320> EV:L CArchivingAgent::PostProcessArchivedItem (Exit) |Unspecified error [0x80004005] |
Cause
This error can be observed when Enterprise Vault is trying to process the A1 queue and the Exchange server or information store is unavailable at the time.
There can be two conditions that cause this issue.
1. A mailbox move from one Exchange server to another occurs during an Archive Task run, or after the Provisioning Task run and prior to the Archive Task run. The Provisioning Task must be run immediately after the mailbox move and before the Archive run.
2. A mailbox move from one Exchange Server to another occurs while mail items are still in the Archive Pending status.
Solution
1. Cancel the pending actions by following the instructions here: 100016644
3. Reset the Pending Shortcut Timeout to its original value, and synchronize mailbox policies including folder hierarchy and permissions.
Afterward, the mailbox archiving task should run with awareness of the mailbox's new location.
Further Reading
To avoid this problem in future Exchange migrations, the best practices for moving mailboxes from one Exchange Server to another are linked in the related documents below.