ISSUE: Outlook Data File LowLevelError: 2147747894 (0x80040836) Context: 268763653

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 successful migration and will require intervention to resolve.

Version: 0 Component: Outlook Data File LowLevelError: 2147747894 (0x80040836) Context: 268763653 Message: Error in IMsgServiceAdmin::ConfigureMsgService: MAPI_E_CORRUPT_STORE Error: The Outlook data file was not cleanly closed by the last program that used it. It cannot be opened until repaired

Cause

This error occurs when the Outlook data file (PST) was not properly closed by the last program that accessed it. An improper shutdown or crash can leave the file in an inconsistent state, leading to corruption. As a result, Outlook cannot open the file until it is repaired.

Solution

To resolve this issue, follow these steps:

  1. Run scanpst.exe: Use the Inbox Repair Tool (scanpst.exe) to repair the PST file. This tool is provided by Microsoft and can fix corruption issues in PST files.

    • 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.
  2. Ensure the file is not in use: Make sure the PST file is not currently being used by another application.
    • Close Outlook and any other applications that might be using the PST file.
    • Check the Task Manager (Ctrl + Shift + Esc) for any instances of Outlook or other related processes and end them if necessary.
  3. Backup and create a new PST file: If the issue persists after running scanpst.exe, you may need to export the contents of the corrupted PST file to a new, empty PST file.
    • 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.

By following these steps, you should be able to resolve the issue and successfully migrate the PST file.


Is this article helpful for you?