Symptoms
After upgrading to 4.6.8, email notifications stop working. The error in the HostServer log is: Could not load file or assembly ''INSTALLDIR]Host ServerBinSourceCode.EventBus.EventAssemblies.dll' or one of its dependencies.
Diagnoses
There are incorrect mappings in the EventBus.EventPolicyMapping and EventBus.LogEventPolicyMapping tables.
The SourceCode.EventBus.Server.config file needs to be updated.
Resolution
1. Open eINSTALLDIR]K2 blackpearlHost Serverin and locate the SourceCode.EventBus.Server.config file
- Update the mailassembly node to point to tBlackpearl drive location]:Program Files (x86)K2 blackpearlHost ServerBinSourceCode.EventBus.MessageBusRecorder.dll instead of 'fINSTALLDIR]Host ServerBinSourceCode.EventBus.EventAssemblies.dll'
- Update the mailassemblytype node to point to SourceCode.EventBus.MessageBusRecorder.MessageBusMailer instead of SourceCode.EventBus.EventAssemblies.Mail
2. Execute the following scripts on the K2 Database:
UPDATE TEventBus].sEventPolicyMapping]
SET EasmFullName] = '=Drive letter:]Program Files (x86)K2 blackpearlHost ServerBinSourceCode.EventBus.MessageBusRecorder.dll',
asmTypeName] = 'SourceCode.EventBus.MessageBusRecorder.MessageBusMailer'
WHERE RasmFullName] = '=INSTALLDIR]Host ServerBinSourceCode.EventBus.EventAssemblies.dll'
UPDATE TEventBus].sLogEventPolicyMapping]
SET EasmFullName] = '=Drive letter:]Program Files (x86)K2 blackpearlHost ServerBinSourceCode.EventBus.MessageBusRecorder.dll',
asmTypeName] = 'SourceCode.EventBus.MessageBusRecorder.MessageBusMailer'
WHERE RasmFullName] = '=INSTALLDIR]Host ServerBinSourceCode.EventBus.EventAssemblies.dll'
3. Restart the K2 service