Sample code to save as MSMQ messages from outgoing queues to files

The following code will read messages from outoging queues and then create folder structure as \domain or server name or IP\private$ or (public)\queue name to save the messages as .xml files. The reference is the sample from codeproject: http://www.codeproject.com/Articles/22847/Accessing-Outgoing-Message-Queues-MSMQ private void SaveMessages(string queueFormatName, int numOfMessagesToRead) { MSMQ.MSMQQueueInfo info = new MSMQ.MSMQQueueInfo(); info.FormatName = queueFormatName; MSMQ.MSMQQueue…


Biztalk job MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb displays failure.

Biztalk job MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb displays failure.  Problem: The job MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb shows failure but all is completing in the job as being successful:   As per the link https://support.microsoft.com/en-nz/kb/919776, the job MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb calls on the Job: MessageBox_Message_Cleanup_BizTalkMsgBoxDb job The below table show that this Job MessageBox_Message_Cleanup_BizTalkMsgBoxDb does run and complete:   So our Biztalk user had a…