Environment
Situation
Resolution
ERROR Publisher - An unhandled exception occurred while executing operation. This error will be logged again later.
System.Exception:
An error occurred while executing a task on the STA thread. --->
System.Runtime.InteropServices.COMException (0x80040600): Error in
IMAPITable.SetColumns: MAPI_E_CORRUPT_STORE
at Redemption.RDOFolderClass.get_Items()
at
GW.Export.Pst.MessageItemExporters.MessageItemExporterBase.LegacyExportMessage(Message
message, IRDOFolder rdoFolder, IRDOSession rdoSession, IList`1 errors,
String newItemClass)
at
GW.Export.Pst.MessageItemExporters.PstMailItemExporter.ExportMessage(Message
message, IRDOFolder rdoFolder, IRDOSession rdoSession, IList`1 errors)
at GW.Export.Pst.PstExporter.<>c__DisplayClass12.<ExportMessage>b__d()
at GW.Export.Pst.StaThreadExecutor.<>c__DisplayClass1.<Execute>b__0()
--- End of inner exception stack trace ---
at GW.Export.Pst.StaThreadExecutor.Execute(Action action)
at GW.Export.Pst.PstExporter.ExportMessage(Message message, RDOFolder rdoFolder, IRDOMail parentRdoMail, IList`1 errors)
at GW.Export.Pst.PstExporter.ExportMessage(Message message, String rdoFolderEntryId, IList`1 errors)
at GW.PstExportServiceApplication.RemotePstExporter.ExportMessage(Int64 messageId, String rdoFolderEntryId)
at SyncInvokeExportMessage(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
2015-08-31 09:23:35,437 [Main] INFO Publisher - Export session is finished. Closing the service...
The
line above the error notifies you of the subject the error is occurring
on. In this customer's circumstance there were 300+ messages that all
contained the same subject. All of these messages had multiple large
PDF's attached. Deleting the problem messages from the export and
creating a separate export with only the problem messages resolved the
error and allowed the customer to export to PST.
If you run into this error, try breaking up your exports into smaller chunks.