locked
PST Capture to Office 365 fails with Import error : Error opening PST File

    Question

  • I have installed and configured PST Capture Service according to every recipee available. My user is domain admin and local admin, I've set up Outlook 2010 x64 with a profile that is in Organization Management.

     

    I have my pst files ready on the same server that is running PST Capture service.

     

    This is from the log :

     

    11:51:32.934|Trace  |PstToolImporting    |4  |System.Runtime.InteropServices.COMException (0xC004AB03): Exception from HRESULT: 0xC004AB03
       at Microsoft.Exchange.PSTCapture.MapiLib.MapiProviderClass.OpenPSTFile(String bstrFileName, String bstrPassword)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.<>c__DisplayClass2.<OpenPst>b__0()
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.GetMailBox(String identifier, NamedPropertyIdCache& idCache, CreateNewMailBoxDelegate createDelegate)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.OpenPst(String filename, String password)
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.GetMapiSession()
    11:51:32.934|Error  |PstToolImporting    |4  |Unable to create MAPI session for import: Exception from HRESULT: 0xC004AB03
    11:51:32.949|Debug  |ImportListImporter  |4  |Error importing E:\Mail\siw.kleppe.pst from E:\PSTStaging\d91ef4bb-e0d0-497d-9c99-9e414a21ad45.pst
    System.Exception: Error opening PST file ---> System.Runtime.InteropServices.COMException (0xC004AB03): Exception from HRESULT: 0xC004AB03
       at Microsoft.Exchange.PSTCapture.MapiLib.MapiProviderClass.OpenPSTFile(String bstrFileName, String bstrPassword)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.<>c__DisplayClass2.<OpenPst>b__0()
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.GetMailBox(String identifier, NamedPropertyIdCache& idCache, CreateNewMailBoxDelegate createDelegate)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.OpenPst(String filename, String password)
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.GetMapiSession()
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.OpenPSTFile(String pstPath, String password)
       --- End of inner exception stack trace ---
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.OpenPSTFile(String pstPath, String password)
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.StartImport(String pstPath, String passWord, ImportOptions options, List`1& problems)
       at RedGate.PSTImporterForExchange.CentralService.ImportListImporter.<>c__DisplayClass3.<ImportFile>b__0(Object )
    11:51:32.949|Debug  |ImportListImporter  |4  |Keeping Exception ex for result 14737368
    System.Exception: Error opening PST file ---> System.Runtime.InteropServices.COMException (0xC004AB03): Exception from HRESULT: 0xC004AB03
       at Microsoft.Exchange.PSTCapture.MapiLib.MapiProviderClass.OpenPSTFile(String bstrFileName, String bstrPassword)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.<>c__DisplayClass2.<OpenPst>b__0()
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.GetMailBox(String identifier, NamedPropertyIdCache& idCache, CreateNewMailBoxDelegate createDelegate)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.OpenPst(String filename, String password)
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.GetMapiSession()
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.OpenPSTFile(String pstPath, String password)
       --- End of inner exception stack trace ---
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.OpenPSTFile(String pstPath, String password)
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.StartImport(String pstPath, String passWord, ImportOptions options, List`1& problems)
       at RedGate.PSTImporterForExchange.CentralService.ImportListImporter.<>c__DisplayClass3.<ImportFile>b__0(Object )
    11:51:32.949|Debug  |ImportListImporter  |7  |Rethrow od result 14737368
    11:51:32.949|Trace  |DBImportFile        |7  |Saving 12 False Error E:\Mail\siw.kleppe.pst
    11:51:32.965|Error  |ImportListImporter  |7  |Import error:
    System.Exception: Error opening PST file ---> System.Runtime.InteropServices.COMException (0xC004AB03): Exception from HRESULT: 0xC004AB03
       at Microsoft.Exchange.PSTCapture.MapiLib.MapiProviderClass.OpenPSTFile(String bstrFileName, String bstrPassword)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.<>c__DisplayClass2.<OpenPst>b__0()
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.GetMailBox(String identifier, NamedPropertyIdCache& idCache, CreateNewMailBoxDelegate createDelegate)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.OpenPst(String filename, String password)
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.GetMapiSession()
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.OpenPSTFile(String pstPath, String password)
       --- End of inner exception stack trace ---
       at RedGate.PSTImporterForExchange.CentralService.ImportListImporter.ImportFile(RepositoryImportFile file)
    11:51:32.965|Error  |Import Action       |7  |Error during import
    System.Exception: Error opening PST file ---> System.Runtime.InteropServices.COMException (0xC004AB03): Exception from HRESULT: 0xC004AB03
       at Microsoft.Exchange.PSTCapture.MapiLib.MapiProviderClass.OpenPSTFile(String bstrFileName, String bstrPassword)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.<>c__DisplayClass2.<OpenPst>b__0()
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.GetMailBox(String identifier, NamedPropertyIdCache& idCache, CreateNewMailBoxDelegate createDelegate)
       at RedGate.ExchangeArchiver.MAPI.Engine.MapiSession.OpenPst(String filename, String password)
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.GetMapiSession()
       at RedGate.PSTImporterForExchange.ImportEngine.PstEwsImporter.OpenPSTFile(String pstPath, String password)
       --- End of inner exception stack trace ---
       at RedGate.PSTImporterForExchange.CentralService.ImportListImporter.ImportFile(RepositoryImportFile file)
       at RedGate.PSTImporterForExchange.CentralService.Actions.StartImportAction.RunImport(Object state)

     

    Please help, we have 1 week to go-live!

    Friday, October 12, 2012 6:52 PM

Answers

  • Hi,
     
    The issue may occur if there are PST minor problems with Calendar items

    You can check:

    • Non-mail items unckecking | Calendar items and All other non-mail items (contacts, task, notes, etc)
    • Import tolerance unchecked | Cancel PST file import if too many messages fail

    Thanks,
    Simon

    Monday, October 15, 2012 8:51 AM
    Moderator

All replies

  • Hi,

    I believe you have the below requirements.

    PST Capture Console is installed on the Domain Joined Machine.

    You have mentioned that the User Account (PST Capture Tool's Service Account) is a Local Administrator on the Machine running the Tool.

    You also have the Outlook 2010 X64 installed

    And you have created the outlook profile for that Service Account.

    Also

    PST Capture Tool's Service Account has a Exchange 2010 Mailbox.

    It is a member of Organization Management & Public Folder Management


    Thanks, Bennett J.Davis | Mark this as answer if it helps you.

    • Proposed as answer by PK M Saturday, October 13, 2012 6:28 PM
    Saturday, October 13, 2012 2:33 AM
  • Hi!

    Yes, I have all these requirements fulfilled. I cannot see "Public Folder Management" anywhere in Office 365, however.

    There must be some local reason why it cannot read .pst files. Is the tool initiating a Connection from Exchange Online or to? Thinking firewalls etc. is the reason.

    Any help?

    Best,

    Stian

    Monday, October 15, 2012 8:06 AM
  • Hi,
     
    The issue may occur if there are PST minor problems with Calendar items

    You can check:

    • Non-mail items unckecking | Calendar items and All other non-mail items (contacts, task, notes, etc)
    • Import tolerance unchecked | Cancel PST file import if too many messages fail

    Thanks,
    Simon

    Monday, October 15, 2012 8:51 AM
    Moderator
  • Hi,

    After doing the mentioned steps, i still gets the same error " Import Error: Error opening PST file.

    Thanks,

    Monday, May 19, 2014 6:02 PM
  • Hi NPR,

    Did you ever find a solution? I'm having a very similar problems and the suggestion from Simon_WU also did not work for me.

    Thanks,


    Wednesday, November 18, 2015 8:12 PM
  • Check the version .Net Framework. PSTCapture requires 4.5 and does not work with 4.6
    Friday, April 21, 2017 12:28 PM