Hi Team
We've been struggling for days to get workflow manager installed on a customer environment.
They are running it on Server 2012 R2 which is where I believe the issue is.
We followed this Technet article: https://technet.microsoft.com/en-us/library/jj658588.aspx. We also installed CU2 for Wf Manager (https://www.microsoft.com/en-nz/download/details.aspx?id=42036).
Herewith the situation:
After installing and patching to CU2, we can create SP2013 workflows via SharePoint Designer. We can also associate with a list and start the workflows but they always get stuck in starting.
If I check the services on the server I notice that the workflow manager backend keeps stopping and starting. The following are logged in the Event Viewer:
Faulting application name: Microsoft.Workflow.ServiceHost.exe, version: 1.0.20922.0, time stamp: 0x505e1b24
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532954fb
Exception code: 0xe0434352
Fault offset: 0x0000000000005bf8
Faulting process id: 0x2aec
Faulting application start time: 0x01d1045de06c49f0
Faulting application path: C:\Program Files\Workflow Manager\1.0\Workflow\Artifacts\Microsoft.Workflow.ServiceHost.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 26fdb902-7051-11e5-80e1-005056997539
Faulting package full name:
Faulting package-relative application ID:
ALSO another error points to a report.wer file which contains this error:
Version=1
EventType=CLR20r3
EventTime=130890665564898435
ReportType=2
Consent=1
ReportIdentifier=26fdb903-7051-11e5-80e1-005056997539
IntegratorReportIdentifier=26fdb902-7051-11e5-80e1-005056997539
NsAppName=Microsoft.Workflow.ServiceHost.exe
Response.type=4
Sig[0].Name=Problem Signature 01
Sig[0].Value=Microsoft.Workflow.ServiceHost
Sig[1].Name=Problem Signature 02
Sig[1].Value=1.0.20922.0
Sig[2].Name=Problem Signature 03
Sig[2].Value=505e1b24
Sig[3].Name=Problem Signature 04
Sig[3].Value=Microsoft.Activities.Dispatcher
Sig[4].Name=Problem Signature 05
Sig[4].Value=1.0.40131.2
Sig[5].Name=Problem Signature 06
Sig[5].Value=52ec1190
Sig[6].Name=Problem Signature 07
Sig[6].Value=26
Sig[7].Name=Problem Signature 08
Sig[7].Value=0
Sig[8].Name=Problem Signature 09
Sig[8].Value=Microsoft.Workflow.Common.Fatal
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.3.9600.2.0.0.272.7
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=5129
UI[2]=C:\Program Files\Workflow Manager\1.0\Workflow\Artifacts\Microsoft.Workflow.ServiceHost.exe
UI[5]=Check online for a solution (recommended)
UI[6]=Check for a solution later (recommended)
UI[7]=Close
UI[8]=Microsoft.Workflow.ServiceHost stopped working and was closed
UI[9]=A problem caused the application to stop working correctly. Windows will notify you if a solution is available.
UI[10]=&Close
FriendlyEventName=Stopped working
ConsentKey=CLR20r3
AppName=Microsoft.Workflow.ServiceHost
AppPath=C:\Program Files\Workflow Manager\1.0\Workflow\Artifacts\Microsoft.Workflow.ServiceHost.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=80387D817F002F6A29ABA9B406D06428
Further to the above, I have also enabled the Debug and Operational logs on the Microsoft-Workflow logs under Applications and Services Logs. The following errors come up:
Unhandled exception in AppDomain: Microsoft.Workflow.Common.FatalException: An unrecoverable error occurred. For diagnostic purposes, this English message is associated with the failure: 'The dispatcher failure rate has reached 11%. InnerException
is the last failure; see traces for other failures.'. ---> System.AggregateException: The dispatcher failure rate has reached 11%. InnerException is the last failure; see traces for other failures. ---> System.NullReferenceException: Object reference
not set to an instance of an object.
at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.SystemSuspendSessionOnFailedConfiguration(String suspensionReason)
at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.SystemSuspendSession(String suspensionReason, SystemSuspendType suspendType)
at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.Isolate(AsyncCompletion callback, IAsyncResult result)
at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.Isolate(AsyncCompletion callback, IAsyncResult result)
at Microsoft.Activities.Dispatcher.DispatchLoopInstanceAsyncResult.ExceptionHandlingFrame(IAsyncResult result)
--- End of inner exception stack trace ---
--- 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().
Please urgently investigate and let us know how we can resolve?