< class="prominent-subhead ">

Code Fix: Deadlock errors experienced on Eventbus, after K2 Host Server service restart


Issue Description

When you restart the K2 Host Server service, deadlock errors are experienced on Eventbus. But after another restart the deadlock errors are no longer experienced.

Error Message

The following error occurs in the K2 Host Server log file: “"??","[date time]","Error","EventBus","7498","General","ServerDAL.UpdateLogCustomEventInstanceStatus","7498 An error has occurred: System.Data.SqlClient.SqlException (0xXXXX): Transaction (Process ID [ID]) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.”


  1. Ensure you have K2 Five (5.1) installed.
  2. Download the K2 Five (5.1) FP21 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.1) FP21 to apply the fix.