SCE fails to truncate log files with error MapiExceptionBackupInProgress ec=1293
Applies to
SnapCenter Plug-in for Microsoft Exchange Server (SCE)
Issue
- SCE fails to truncate log files with the following error in Windows EventLog.
Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance <Instance ID>. Database <Database ID>.
- Windows EventLog also reports the error Event ID: 2140 Source: MSExchangeRepl like below.
Example:
The Microsoft Exchange Replication service VSS Writer encountered an exception in function Microsoft::Exchange::Cluster::ReplicaVssWriter::CReplicaVssWriterInterop::PrepareSnapshot.HResult -2147467259. Exception Microsoft.Mapi.MapiExceptionBackupInProgress: MapiExceptionBackupInProgress: Unable execute Prepare on snapshot. (hr=0x80004005, ec=1293)
Diagnostic context:
Lid: 1494 ---- Remote Context Beg ----
Lid: 33832 StoreEc: 0x50D
Lid: 42621 StoreEc: 0x50D
Lid: 1750 ---- Remote Context End ----
Lid: 59216
Lid: 34640 StoreEc: 0x50D
Lid: 52264
Lid: 46120 StoreEc: 0x50D
at Microsoft.Mapi.MapiExceptionHelper.InternalThrowIfErrorOrWarning(String message, Int32 hresult, Boolean allowWarnings, Int32 ec, DiagnosticContext diagCtx, Exception innerException)
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, IExInterface iUnknown, Exception innerException)
at Microsoft.Mapi.ExRpcAdmin.ProcessSnapshotOperation(Guid mdbGuid, SnapshotOperationCode operationCode, UInt32 flags)
at Microsoft.Exchange.Cluster.Replay.StoreRpcController.<>c__DisplayClass1c.b__1b()
at Microsoft.Exchange.Cluster.Replay.SafeRefCountedTimeoutWrapper.<>c__DisplayClass2.b__0()
at Microsoft.Exchange.Data.HA.InvokeWithTimeout.Invoke(Action invokableAction, Action foregroundAction, TimeSpan invokeTimeout, Boolean sendWatsonReportNoThrow, Object cancelEvent)
at Microsoft.Exchange.Cluster.Replay.SafeRefCountedTimeoutWrapper.ProtectedCallWithTimeout(String operationName, TimeSpan timeout, Action operation)
at Microsoft.Exchange.Cluster.ReplicaVssWriter.CReplicaVssWriterInterop.SnapshotPrepare(Guid dbGuid, UInt32 flags)
at Microsoft.Exchange.Cluster.ReplicaVssWriter.CReplicaVssWriterInterop.PrepareSnapshot().