This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

Email notifications are not sent from the SmartForms rule "Send an e-mail" with the following error found in the Host Server logs:

"Error","MessageBus","61012","ConnectionError","ExchangeWebServicesOrigin","61012 Exception from message source k2svc@[companyname].com: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

Symptoms

The 'SourceCode.MessageBus.Ews..." connection strings had an incorrect 'Password' specified.

Image

Troubleshooting Steps

1. Open the ConnectionStringEditor.exe tool located in "C:\Program Files (x86)\K2 blackpearl\Host Server\Bin".

2. For the "SourceCode.MessageBus.Ews..." connection strings, update the 'Password' to the correct value.

3. Save the changes and restart the K2 service for the changes to take effect.