Issue

You are unable to deploy a workflow and this error appears:

"SmartObject Server Exception: Could not publish SmartObject Definition to server: Error refreshing Service Instance 'WorkflowReportService'. Service returned: 'Workflow Reporting SO Service': Communication with the underlying transaction manager has failed"

Symptoms

This error generally points to DTC. The troubleshooting steps below should help determine whether or not the error is due to a misconfiguration on this component.

Troubleshooting Steps

  1. Check if the K2 server and SQL server hosting the K2 database has DTC configured as per the following documentation.

    Image
  2. Verify if DTC and its port is opened if the firewall is active. You may refer to this documentation on K2 and Firewalls.
  3. Use the DTCPing tool to test the connection between your servers outside the context of K2. You may download the tool here.