Skip to main content


 

Symptoms

 


Ever since we upgraded to version 4.6.11 we have had a few things go wrong. This is happening in Dev and QA even though I marked Dev in this ticket.

We were using our own custom SMTP server and now only some of the mail is being delivered through it.
We cannot find where to set this. It seems like the notifications sent when a user is given a task are not using it, and then SOME escalations are.
Other escalations are either not using our SMTP proxy (delivered but without being sent through the proxy) or erroring out. These all worked prior to the upgrade.

Here are some of the errors in the logs:
SourceCode.Workflow.Common.EWS: The response received from the service didn't contain valid XML.
The constructor to deserialize an object of type 'Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverRemoteException' was not found.

 

 

Diagnoses

 


After reviewing Connection Strings from ConnectionStringEditor and K2HostServer.exe.config located in dInstall Dir]K2 blackpearlHost ServerBin , K2 is configured to use EWS connection and not SMTP that the customer wants.
 

 

Resolution

Adding SMTP connection strings for both the Service account and Anon, modify K2HostServer.exe.config as follows and restart K2 Service, resolved the issue.

 

-remove the following tag from the original config file.
<add path="SmartActionsEWS" />

 

Then use the following tag instead.
<add path="SmartActionsSMTP" />

 

This tag is located in <catalogs> section.

 


 

 

 



 
Be the first to reply!

Reply