Enterprise Vault (EV) PST migration fails with the following error: "Migration of PST <PST file path> exception"

Article:TECH50466  |  Created: 2007-01-16  |  Updated: 2007-01-14  |  Article URL http://www.symantec.com/docs/TECH50466
Article Type
Technical Solution

Product(s)

Environment

Problem



Enterprise Vault (EV) PST migration fails with the following error: "Migration of PST exception"

Error



"Failed to read PST Policy record for Mailbox id: Error: Exception from HRESULT: 0x80005000"

Solution



This error occurs due to duplicate entries in the ExchangeMailboxEntry table in the EnterpriseVaultDirectory database, which may result from past Exchange migrations. To check that this is the case and resolve the issue follow the steps below:

1. Open SQL Query Analyzer on the SQL server that hosts that EV database.
2. Select the EnterpriseVaultDirectory database from the drop down.
3. Run the following query:
SELECT     *
FROM         ExchangeMailboxEntry
           WHERE     (MbxAlias LIKE '%yourusername%') - replacing yourusername with the appropriate mailbox alias for the affected user

If the query finds more than one entry for the user, the duplicate entries need to be deleted (usually the duplicate entries will have a "%MARKED%" entry in the LegacyMbxDN column).
4. Run the following query to delete the duplicate entries
Use EnterpriseVaultDirectory
Go
Delete from exchangemailboxentry
WHERE     (LegacyMbxDN LIKE '%MARKED%')
5. Add a new DWORD registry key on the EV server to prevent this problem from occurring in the future.
HKEY_LOCAL_MACHINE\software\KVS\Enterprise vault\agents\SynchInMigrationMode=1.
This registry key was introduced in EV 6 SP3, and forces EV to automatically assign migrated mailboxes to existing archives using the legacyMbxDN value.
6. Re-start the EV Admin Service after changing the registry key above.
7. Check the PSTFile - ExchangeMailboxEntryID value for the failed PST. If the value does not match the corresponding value for that user in the ExchangeMailboxEntry table then modify the PSTFile value. This will ensure the PST is migrated into the correct archive.

8. Change the MigrationStatus to 800 (Ready to Migrate)

9. Synchronise the user's mailbox and check to make sure duplicate entries are not created this time.

10. Re-start the PST Migrator task.

Warning: Incorrect use of the <Windows registry> may prevent the operating system from functioning properly. Great care should be taken when making changes. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry be made prior to making any changes.

Note: Before making changes to any EV database, ensure you have carried out a full backup as per usual backup procedures.









Supplemental Materials

SourceError Code
Value0x80005000
DescriptionThis error code may be logged if duplicate mailbox entries exist in ExchangeMailboxEntry table.


Legacy ID



286977


Article URL http://www.symantec.com/docs/TECH50466


Terms of use for this information are found in Legal Notices