My technical journal.

Maybe useful, maybe not.
posts - 105 , comments - 45 , trackbacks - 0


Default configuration of MSMQ MP causes event flooding.

Vedran Matica has blogged about the “Improper default configuration of the Message Queuing Management Pack for Operations Manager” which caused event flooding.

Posted On Saturday, November 24, 2012 11:13 PM | Comments (0) | Filed Under [ MSMQ ]

Don't let clueless techies harden your MSMQ server
As discovered by Gautam Mansinghka: MSMQ Service Reports "Insufficient Resources to perform this operation" when trying to create a Private Queue don’t let people change the MSMQ storage directory default security ......

Posted On Tuesday, October 30, 2012 9:51 PM | Comments (0) | Filed Under [ MSMQ ]

An MSMQ Viewer for NServiceBus
Daniel Halan has developed an MSMQ Viewer for NServiceBus: I've lately been working with a scalable cloud solution, and then it's good to use a Service Bus for sending commands, events and messages around the network. Now I tried few MSMQ message viewers that are available, but they all lacked the real-time feedback that would be nice when debugging or just want to know what is happening behind the scenes. So from that a new small application grew, called "ServiceBus MQ Manager". It's a small application ......

Posted On Friday, October 5, 2012 11:20 PM | Comments (1) | Filed Under [ MSMQ ]

Solution for when you can’t manage a clustered MSMQ resource

And third for the day from Guatam is a problem managing MSMQ on a cluster.

MSMQ Management console on Win2k8 & WIn2k8 R2 Cluster not Visible

Seems that the MSMQ service on the physical node needs to run under Network Service.

Must set up a virtual cluster to test that out…

Posted On Thursday, February 9, 2012 9:44 PM | Comments (0) | Filed Under [ MSMQ ]

Up the cache with many concurrent MSMQ clients
Another blog post from Guatam highlights the need to scale up some MSMQ parameters when there are many clients. MSMQ 4 & 5 not receiving messages from Large Number of Clients To improve performance, MSMQ caches user account information to reduce the overhead from checking if the sender of a message has adequate permissions to access a queue. As with most caches, the size is fixed and old data is purged when there is no room left. Unfortunately, there is a potential situation where the clean-up ......

Posted On Thursday, February 9, 2012 9:10 PM | Comments (0) | Filed Under [ MSMQ ]

Look out for large LQS files
It’s good to see my ex-colleague Guatam putting out some MSMQ content after a 10 month hiatus. MSMQ Performance degrades over time & MSMQ LQS folder is 100s of MB. The files in the %windir%\system32\msmq\stor... folder are configuration files for the machine’s queues, or cached configuration information in the case of public queues. Inside these text files is a collection of parameters, such as “Label”, “QueueName” and “PrivLevel”. The largest value is the “Security” parameter which contains ......

Posted On Thursday, February 9, 2012 8:40 PM | Comments (0) | Filed Under [ MSMQ ]

Make sure computer names are 15 characters or less for MSMQ messages to get delivered
Thanks to Seif Attar for highlighting this problem. It seems MSMQ doesn’t like sending to computers with names longer than 15 characters (which some may remember is the NetBIOS limitation). To try it out, I created a queue on a Windows XP machine with a computer name of VeryLongMSMQServer and sent off some test messages to DIRECT=os:verylongmsmqserve... I requested acknowledgements so I could see any errors and wasn’t disappointed: As soon as I renamed the machine to ShortMSMQServer, ......

Posted On Friday, February 3, 2012 10:01 PM | Comments (0) | Filed Under [ MSMQ ]

Starting to look out for any news on MSMQ and Windows 8
Udi Dahan briefly chats about MSMQ on his blog and provides a useful link: Microsoft has put MSMQ in the Developer Preview of Server 8 (as Brian Buvinghausen has written here). There’s good news on Brian’s blog: “Finally! Microsoft added MSMQ to Server Core in Windows Server 8” So it will be interesting to see how they got round the limitations of previous versions of Windows Server Core ......

Posted On Wednesday, January 25, 2012 7:41 PM | Comments (1) | Filed Under [ MSMQ ]

Example of using TransactionScopeOption.Suppress with transactional messages
John Talarico shares a few lines of code to explain how he used TransactionScopeOption.Supp... to allow transaction messages to be sent within, but independent of, an ambient transaction. Transactional logging outside of transactions I’ve constructed a central logging system for a solution that involves routing and processing messages on multiple private queues (MSMQ) using WCF. Within a contract method of a WCF service, I do some logging ......

Posted On Monday, January 23, 2012 7:29 PM | Comments (0) | Filed Under [ MSMQ ]

Paul King’s Blog explains “How to modify the MachineQuota for MSMQ in Domain Mode through code”
Paul King explains how to use the DirectoryEntry object to manipulate MSMQ properties. Our support website does a pretty good job for telling you how you can modify the MachineQuota setting for MSMQ. Unfortunately, if you need a way to do this programmatically and your installation happens to be in "Domain Mode", then there really isn't enough information here. Fortunately using the DirectoryEntry object makes this a pretty easy task. Short and too the point. Too many people using MSMQ approach it ......

Posted On Monday, January 16, 2012 7:49 PM | Comments (0) | Filed Under [ MSMQ ]

MSMQ and WMI – some example code

Emil Åström has blogged about Retrieving the message count for MSMQ queues.

Worth a look for the sample code snippets.

Posted On Sunday, December 11, 2011 1:55 AM | Comments (0) | Filed Under [ MSMQ ]

Troubleshooting Microsoft Message Queuing Issues on Microsoft Lync Server 2010
This blog post sounds specific but most of the troubleshooting tips can be applied to other scenarios: Troubleshooting Microsoft Message Queuing Issues on Microsoft Lync Server 2010 Microsoft Message Queuing (MSMQ) plays an important role in the Microsoft Lync Server 2010 Monitoring/Archiving server infrastructure: in a distributed network environment, MSMQ is used to transmit data from agents located on other servers (such as Front End Servers) to Monitoring/Archiving servers. The purpose of this ......

Posted On Tuesday, November 29, 2011 2:07 AM | Comments (0) | Filed Under [ MSMQ ]

Multicasting and VMWare
Cracked a Multicasting problem this evening for one of my Canadian Tweeple. They wanted to mulitcast some MSMQ messages to another machine but nothing was arriving in the listening queue. A local queue could be configured to listen to the particular IP address/port in use and messages would arrive, though. Looking at the network traffic, nothing was going onto the wire for the IP address/port pair until they looked at traffic to the VMWare adapter. The machine had a virtual machine to simulate a ......

Posted On Sunday, November 20, 2011 11:27 PM | Comments (0) | Filed Under [ MSMQ ]

Current list of MSMQ Hotfixes
I think it is always a good idea to keep on top of any changes to the products you are using and this includes knowing what hotfixes have been released since the latest service pack. To this end I've produced a table of the hotfixes available for MSMQ. Hotfixes are cumulative so you only need to install the hotfix with the highest version number. Of course, ONLY install the hotfixes that resolve problems you are seeing or expect to see. Windows 7 Version Date Hotfix 6.1.7600.20716 21-May-2010 2028997 ......

Posted On Saturday, October 23, 2010 11:55 PM | Comments (0) | Filed Under [ MSMQ ]

MSMQ over HTTP is a push-only technology
If you are designing a system that uses MSMQ over HTTP then you need to take into account that you can only push messages around the system and not pull them. So you can send from Machine A to Machine B but you can't do a similar remote receive from B to A. The reason for this is that remote receives always use the RPC protocol even if you are specifying DIRECT=HTTP or DIRECT=HTTPS. The functionality used to be present in Windows XP before service pack 2 but was withdrawn because of the limitations ......

Posted On Thursday, September 9, 2010 11:41 PM | Comments (0) | Filed Under [ MSMQ ]

Insufficient Resources? Run away, run away!
What is the MSMQ problem that you are most likely to encounter? The dreaded "Insufficient Resources" error. Unless you have a working knowledge of how an operating system actually operates then this error is going to cause mass confusion. For starters, which resources does it mean? Disk space? No, that has GBs free. Memory? No, task manager shows that there is more than enough still unused. So what's up? I've had a look at the MSMQ FAQ for the following list of possibilities (plus one or two others): ......

Posted On Friday, August 6, 2010 11:36 PM | Comments (0) | Filed Under [ MSMQ Cluster ]

Powered by: