After changing the K2 installation path, users are not receiving task notifications. The following error message is logged in the K2 host server log:
"Error","EventBus","7008","Processing","EventQueueProcessing.ExecuteAssembly","7008 The following error occurred while executing policy for CustomEventInstanceID: NNNNNN : Could not load file or assembly 'SourceCode.EventBus.MessageBusRecorder.dll' or one of its dependencies. The system cannot find the path specified. : The system cannot find the path specified. (Exception from HRESULT: 0x80070003).
Only processes started/deployed before the upgrade are affected.
Mail Events and Client Events from newly created test processes do not have any issues, but task notifications for processes deployed/started before the upgrade are not being delivered.
This issue can be caused by a change of the K2 installation path (from "C:\Program Files (x86)\" to "D:\Program Files", for example) as there are references to the assemblies in K2Hostserver.config and in K2 database.
This specific error message ("7008 The following error occurred while executing policy") may appear when the K2 database still contains references to the old path in the following tables: