Symptoms
Email notification problem
Diagnoses
Issue:
Whenever the customer uses the notification option in the "Default Client Event" in thei workflows (see attachment "k2-workflow-eventnotification.png"), they receive an error message on the server log and no email is sent:
"1147695","2016-04-26 14:41:14","Error","EventBus","7008","Processing","EventQueueProcessing.ExecuteAssembly","7008 The following error occurred while executing policy for CustomEventInstanceID: 1 : Exception has been thrown by the target of an invocation. : The EventBusInterop Container property is null..","anonymous","0.0.0.0","triudebpl101:D:Program Files (x86)K2 blackpearlHost ServerBin","1147695","86d20f7b8e144bd5afac350084f1eaa6",""
"1147696","2016-04-26 14:41:14","Error","EventBus","7498","General","EventQueueProcessing.Process","7498 An error has occurred: System.Exception: Exception has been thrown by the target of an invocation. : The EventBusInterop Container property is null.
at SourceCode.EventBus.Server.EventQueueProcessing.ExecuteAssembly(Int32 CustomEventInstanceID, Int32 CustomEventID, ResolvedPolicyMapping resolvedPolicyMapping, Boolean isConditional, Int32 eventTypeID)
at SourceCode.EventBus.Server.EventQueueProcessing.ProcessEvent(Int32 ID)","anonymous","0.0.0.0","triudebpl101:D:Program Files (x86)K2 blackpearlHost ServerBin","1147696","11e12d17a7c6444dbcff792a135447c3",""
"1151155","2016-04-26 14:47:38","Error","SmartObjects","10702","Error","SourceCode.SmartObjects.ServiceBroker rExecuteSmartObject]","10702 An error occurred in the DynamicADSO Service Instance. An operations error occurred.
","anonymous","0.0.0.0","triudebpl101:D:Program Files (x86)K2 blackpearlHost ServerBin","1151155","fb37a2df34e34c38bcf6d6b7b9fbc815",""
No notification mails are sent.
Resolution
Resolution:
The customer had duplicate server/port entries the HostServer.Server table in the K2 Database.
A script was supplied which would delete redundant entries the table.
Once the entries were deleted the error no longer occurred and notification mails were sent and received.