SharePoint 2013: Workflow Manager Backend Service startet nicht

Ich habe heute ein dickes Problem mit dem „Workflow Manager Backend Service“ im Event Log gefunden und mich mal auf die Suche nach einer Lösung gemacht.

Das Problem äußert sich folgendermaßen:

Unhandled exception in AppDomain:  Microsoft.Workflow.Common.FatalException: An unrecoverable error occurred. For diagnostic purposes, this English message is associated with the failure: ‚A required Workflow Manager configuration ‚WorkflowServiceScopeSnapshotProcessBatchSize‘ is not present. Please add this configuration value.‘. —> System.IO.InvalidDataException: A required Workflow Manager configuration ‚WorkflowServiceScopeSnapshotProcessBatchSize‘ is not present. Please add this configuration value.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Service.WorkflowServiceBackendHost.OnStartCompleted(IAsyncResult result)
— End of inner exception stack trace —
at Microsoft.Workflow.Common.Fx.<>c__DisplayClass2.<FailFast>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart().

 

Application terminating due to FailFast. Message : An unrecoverable error occurred. For diagnostic purposes, this English message is associated with the failure: ‚A required Workflow Manager configuration ‚WorkflowServiceScopeSnapshotProcessBatchSize‘ is not present. Please add this configuration value.‘., Exception: System.IO.InvalidDataException: A required Workflow Manager configuration ‚WorkflowServiceScopeSnapshotProcessBatchSize‘ is not present. Please add this configuration value.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Service.WorkflowServiceBackendHost.OnStartCompleted(IAsyncResult result).

Lösung (Resolution):

Auf die Instanz der SharePoint Datenbanken verbinden. Nun müssen in der Datenbank „WFResourceManagementDB“ in der Tabelle „WorkflowServiceConfig“ noch folgende 4 Werte gesetzt werden:

INSERT INTO WorkflowServiceConfig VALUES('WorkflowServiceScopeSnapshotProcessBatchSize', '50')
INSERT INTO WorkflowServiceConfig VALUES('WorkflowServiceScopeSnapshotProcessLoopInterval', '00:05:00')
INSERT INTO WorkflowServiceConfig VALUES('WorkflowServiceSuspendedInstanceRetentionDuration', '00:30:00')
INSERT INTO WorkflowServiceConfig VALUES('WorkflowServiceMaxInstanceCompressedSizeKB', '5120')

Nun lässt sich der Dienst ohne Probleme starten!

Viel Erfolg!

  1. No trackbacks yet.

Du musst angemeldet sein, um einen Kommentar abzugeben.
%d Bloggern gefällt das: