Symptoms
Message Queuing Problems - Errors appearing in Application Event Log on K2 server
The following error appears in the event log on the K2 server.
Log Name: Application
Source: SourceCode.Logging.Extension.EventLogExtension
Date: 2/23/2015 2:21:23 PM
Event ID: 7498
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: $computerName
Description:
7498 An error has occurred: System.Messaging.MessageQueueException (0x80004005): Access to Message Queuing system is denied.
at System.Messaging.MessageQueue.MQCacheableInfo.get_ReadHandle()
at System.Messaging.MessageQueue.StaleSafeReceiveMessage(UInt32 timeout, Int32 action, MQPROPS properties, NativeOverlapped* overlapped, ReceiveCallback receiveCallback, CursorHandle cursorHandle, ITransaction transaction)
at System.Messaging.MessageQueue.ReceiveCurrent(TimeSpan timeout, Int32 action, CursorHandle cursor, MessagePropertyFilter filter, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType)
at System.Messaging.MessageQueue.Receive(MessageQueueTransaction transaction)
at SourceCode.EventBus.MSMQSource.MessagesFromSource.RecieveMessage()
at SourceCode.EventBus.MSMQSource.MessagesFromSource.GetEventsFromQueue()
at SourceCode.EventBus.Server.EventQueueProcessing.RetrieveEventItemsFromSource()
Event Xml:
7498
2
0
0x80000000000000
264370
Application
$computerName
7498 An error has occurred: System.Messaging.MessageQueueException (0x80004005): Access to Message Queuing system is denied.
at System.Messaging.MessageQueue.MQCacheableInfo.get_ReadHandle()
at System.Messaging.MessageQueue.StaleSafeReceiveMessage(UInt32 timeout, Int32 action, MQPROPS properties, NativeOverlapped* overlapped, ReceiveCallback receiveCallback, CursorHandle cursorHandle, ITransaction transaction)
at System.Messaging.MessageQueue.ReceiveCurrent(TimeSpan timeout, Int32 action, CursorHandle cursor, MessagePropertyFilter filter, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType)
at System.Messaging.MessageQueue.Receive(MessageQueueTransaction transaction)
at SourceCode.EventBus.MSMQSource.MessagesFromSource.RecieveMessage()
at SourceCode.EventBus.MSMQSource.MessagesFromSource.GetEventsFromQueue()
at SourceCode.EventBus.Server.EventQueueProcessing.RetrieveEventItemsFromSource()
Diagnoses
Issue: Event log message stating " Access to Message Queuing system is denied."
Following the MSMQ documentation found at http://help.k2.com/onlinehelp/k2blackpearl/icg/current/webframe.html_MSMQ_Settings.html
We checked permissions on the eventbus and eventbus error message queues.
Resolution
Once appropriate permissions were set on the eventbus and eventbus error MSMQ, this issue was resolved.