Issue: MAPI_E_INVALID_ENTRYID Context: 805897985
Last modified:
Overview
During the migration of a PST file, the following error may occur, indicating a problem with the Outlook data file. This error can prevent the successful migration of the PST file and will require intervention to resolve.
Error in IMsgStore::OpenEntry - 0x000000004B38E04235F0D311B4CA00062929BEBE22810000: MAPI_E_INVALID_ENTRYID ulVersion: 0 Component: Outlook Data File ulLowLevelError: 0 ulContext: 805897985
Cause
This error occurs when the Outlook data file (PST) contains an invalid Entry ID. An Entry ID is a unique identifier used by MAPI (Messaging Application Programming Interface) to reference items in the mailbox. When an Entry ID becomes corrupted or invalid, Outlook is unable to locate the item, leading to this error. This issue can arise due to PST file corruption, issues during migration, or problems within the MAPI subsystem.
Solution
To resolve this issue, follow these steps:
- Run scanpst.exe: Try using the Inbox Repair Tool (scanpst.exe) to repair the PST file. This tool is provided by Microsoft and can often fix issues with PST files, including those related to invalid Entry IDs.
- Close Outlook and any other applications that might be using the PST file.
- Find the scanpst.exe tool on your computer. Its location will depend on your version of Outlook and Windows.
- Open scanpst.exe and browse to the location of the PST file you want to repair.
- Click "Start" to begin the repair process. Follow the on-screen instructions to complete the repair.
- Export contents to a new PST file: If the issue persists after running scanpst.exe, you may need to export the contents of the PST file to a new, empty PST file. This process involves creating a new PST file and copying the contents of the old PST file into it.
- Open Outlook and create a new PST file: File > Account Settings > Account Settings > Data Files > Add.
- Set the new PST file as the default delivery location: File > Account Settings > Account Settings > Email tab > Change Folder > New Outlook Data File.
- Move the contents of the old PST file to the new PST file: Select the folders you want to move, then drag and drop them into the new PST file.
- Close and restart Outlook to ensure the changes take effect.