Symptoms
Access to Message Queuing system is denied
Diagnoses
When you start K2 blackpearl service you get the following error in the log file:
"264692","2016-05-11 15:58:15","Error","EventBus","7498","General","EventQueueProcessing.RetrieveEventItemsFromSource","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()","anonymous","0.0.0.0","Sigma936:C:Program Files (x86)K2 blackpearlHost ServerBin","264692","a55addd738544690af4db848ef232af3",""
Resolution
You can have a look at the following documentation.
http://help.k2.com/onlinehelp/K2blackpearl/ICG/current/webframe.html_MSMQ.html_tracksearch=Message queuing
http://community.k2.com/t5/K2-blackpearl/An-error-has-occurred-System-Messaging-MessageQueueException/ta-p/77308
Also make sure the appropriate permissions have been set to the event bus queue and eventbus queue error as well after this the error should no long appear.
In this case make sure the service account itself has full control to MSMQ and the queues as mentioned above.