PST Capture 2.0 - Import error: Error opening mailbox

Error message:

Import error: Error opening mailbox user@customer.co.uk

Seen various posts on here with potential solutions and they are all detailed on this blog here: http://www.sysadminsblog.com/microsoft/pst-capture-errors/

I have tried everything:

  • Verified Outlook 2010 64bit is installed
  • Assigned Mailbox Import Export permissions (directly to service account)
  • Verified account is a member of Organization Management and Public Folder Management groups
  • Verified service account has a mailbox
  • Verified service account is a local admin on Capture server
  • Verified PST capture service is running as service account

On top of that:

  • Different machines
  • Windows 7 64bit with Office 2010 64bit standard installed
  • Windows Server 2012 with Outlook 2010 64bit standard installed
  • With Domain Admin rights
  • Without Domain Admin rights
  • Uninstall / Re-install PST Capture
  • Multiple restarts
  • Cached Exchange mode on and off
  • Different PST files, created a new PST for testing on capture machine
  • Importing into the Capture service accounts mailbox
  • Installed Windows updates and Office 2010 SP2

Exchange version is 2013.

I can see in the log file that PST capture talks to Exchange ok:

17:53:13.628|Verbose|MailboxGetter       |8  |AdHarvester: Mailbox harvest success - got 218 boxes

Last part of log file:

17:28:13.618|Trace  |DBImportFile        |8  |Saving 2 False Transferring C:\Users\pstimport\Desktop\archive.pst
17:28:13.710|Trace  |DBImportFile        |8  |Saving 2 False Transferred C:\Users\pstimport\Desktop\archive.pst
17:28:13.802|Verbose|File Transfer Mgr   |8  |BeginTransferFile completed: C:\Users\pstimport\Desktop\archive.pst
17:28:18.458|Trace  |ImportListImporter  |5  |Importing C:\Users\pstimport\Desktop\archive.pst to ||PSTImport@customer.co.uk
17:28:18.459|Verbose|PstPasswordGenerator|5  |Bypassing password
17:28:18.460|Trace  |DBImportFile        |5  |Saving 2 False Importing C:\Users\pstimport\Desktop\archive.pst
17:28:18.544|Debug  |ImportListImporter  |8  |Importing C:\Users\pstimport\Desktop\archive.pst from C:\PSTStaging\c639fffa-cb68-4ef7-91cb-ee82f9bcdc8b.pst
17:28:18.544|Info   |PstToolImporting    |8  |Import of PST file C:\PSTStaging\c639fffa-cb68-4ef7-91cb-ee82f9bcdc8b.pst starting
17:28:18.875|Warn   |Active Directory    |8  |DoAutoDiscoverLookup: Threw Exception - Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException: The Autodiscover service couldn't be located.
   at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetSettings[TGetSettingsResponseCollection,TSettingName](List`1 identities, List`1 settings, Nullable`1 requestedVersion, GetSettingsMethod`2 getSettingsMethod, Func`1 getDomainMethod)
   at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(List`1 smtpAddresses, List`1 settings)
   at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetSoapUserSettings(String smtpAddress, List`1 requestedSettings)
   at RedGate.PSTImporterForExchange.ActiveDirectory.ActiveDirectoryService.DoAutoDiscoverLookup(String mailbox, AutoDiscoverData& outData)
17:28:18.875|Verbose|Active Directory    |8  |IAutoDiscoverData.Find: DoAutoDiscoverLookup returned null
17:28:18.875|Warn   |Active Directory    |8  |GetMapiLogonServer: GetMapiCasUsingAutoDiscover returned null or  GetCasVersion failed - Use Mapi2010Cas
17:28:18.875|Debug  |PstExImporter       |8  |Opening /o=customer Limited/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=2f73c6a1f8934ede97888e2da483b38b-PSTImport/guid=84348eef-02c7-4dbf-9bae-9c2082857bf8 on server customer-mail01.customeregr.local
17:28:19.394|Error  |PstToolImporting    |8  |Import of 'C:\PSTStaging\c639fffa-cb68-4ef7-91cb-ee82f9bcdc8b.pst' did not complete
System.Exception: Error opening mailbox PSTImport@customer.co.uk ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040115
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.CheckMapiSession()
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.get_LoggedOnMapiSession()
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.OpenMailbox(ImportOptions options, Boolean& usingArchive)
   --- End of inner exception stack trace ---
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.OpenMailbox(ImportOptions options, Boolean& usingArchive)
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.StartImport(String pstPath, String passWord, ImportOptions options, List`1& problems)
17:28:19.396|Debug  |ImportListImporter  |8  |Error importing C:\Users\pstimport\Desktop\archive.pst from C:\PSTStaging\c639fffa-cb68-4ef7-91cb-ee82f9bcdc8b.pst
System.Exception: Error opening mailbox PSTImport@customer.co.uk ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040115
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.CheckMapiSession()
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.get_LoggedOnMapiSession()
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.OpenMailbox(ImportOptions options, Boolean& usingArchive)
   --- End of inner exception stack trace ---
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.OpenMailbox(ImportOptions options, Boolean& usingArchive)
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.StartImport(String pstPath, String passWord, ImportOptions options, List`1& problems)
   at RedGate.PSTImporterForExchange.CentralService.ImportListImporter.<>c__DisplayClass8.<ImportFile>b__5(Object param0)
17:28:19.396|Debug  |ImportListImporter  |8  |Keeping Exception ex for result 42715336
System.Exception: Error opening mailbox PSTImport@customer.co.uk ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040115
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.CheckMapiSession()
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.get_LoggedOnMapiSession()
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.OpenMailbox(ImportOptions options, Boolean& usingArchive)
   --- End of inner exception stack trace ---
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.OpenMailbox(ImportOptions options, Boolean& usingArchive)
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.StartImport(String pstPath, String passWord, ImportOptions options, List`1& problems)
   at RedGate.PSTImporterForExchange.CentralService.ImportListImporter.<>c__DisplayClass8.<ImportFile>b__5(Object param0)
17:28:19.396|Debug  |ImportListImporter  |5  |Rethrow od result 42715336
17:28:19.397|Trace  |DBImportFile        |5  |Saving 2 False Error C:\Users\pstimport\Desktop\archive.pst
17:28:19.518|Error  |ImportListImporter  |5  |Import error: 
System.Exception: Error opening mailbox PSTImport@customer.co.uk ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040115
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.CheckMapiSession()
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.get_LoggedOnMapiSession()
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.OpenMailbox(ImportOptions options, Boolean& usingArchive)
   --- End of inner exception stack trace ---
   at RedGate.PSTImporterForExchange.CentralService.ImportListImporter.ImportFile(RepositoryImportFile file)
17:28:19.520|Error  |Import Action       |5  |Error during import
System.Exception: Error opening mailbox PSTImport@customer.co.uk ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040115
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.CheckMapiSession()
   at Redgate.PSTImporterForExchange.ImportEngine.MapiSessionManager.get_LoggedOnMapiSession()
   at RedGate.PSTImporterForExchange.ImportEngine.PstExchangeImporter.OpenMailbox(ImportOptions options, Boolean& usingArchive)
   --- End of inner exception stack trace ---
   at RedGate.PSTImporterForExchange.CentralService.ImportListImporter.ImportFile(RepositoryImportFile file)
   at RedGate.PSTImporterForExchange.CentralService.Actions.StartImportAction.RunImport(Object state)



  • Edited by UC Chris 11 hours 33 minutes ago
August 11th, 2015 1:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics