Forcing MSMQ to clean up its storage files

As I’ve probably discussed before, MSMQ does not perform garbage collection on its message storage files very often – every 6 hours or on service startup are the defaults. You can, though, run a script to ask the MSMQ service not to wait around. This is done by calling the Tidy method of the MSMQApplication…


Authenticated or encrypted MSMQ messages are rejected because of incorrect CSP name

There is a new hotfix released for MSMQ 3.0 on Windows XP to correct a problem where the certificate service provider name was not being written correctly to the message: FIX: A Message Queuing 3.0 message is rejected on the receiver when you send the message by using an external certificate from a Windows XP Service Pack 3-based computer…


MSMQ messages using HTTP just won’t get delivered #16

If you are sending messages over HTTP then there is a chance you may be behind a proxy server which prevents you making a direct connection to the destination server. This is no big deal – Internet-enabled products such as Internet Explorer and MSMQ always check for any proxy settings so they know how to…


MSMQ messages using HTTP just won’t get delivered #15

This sounds obvious but make sure port 80 is open on the firewalls and routers between sender and receiver. It’s easy to get bogged down in trying to work out why MSMQ isn’t sending, such as checking if acknowledgements are getting lost and so on. In this case take a step back and look at what…


How to get a list of installed hotfixes and updates

You can quickly collect this from the command prompt using WMIC (as long as you are using an operating system newer than Windows 2000). This command-line utility (Wmic.exe) is used to access Windows Management Instrumentation (WMI) and saves you having to write a script to gather information by means of WMI. Wmic.exe can only be used…


Sending MSMQ messages over HTTP to a web server not listening on Port 80

Luckily this isn’t difficult. The address needs to be modified just like using Internet Explorer to browse a web site that’s listening on a different port so just insert the port number after the server name. For example, here’s the address where the destination web service is listening on port 8080: DIRECT=HTTP://MyWebServer:8080/MSMQ/Private$/TestQueue  


Upgrading BizTalk 2006 to the R2 edition

In my new role as BizTalk support engineer, I’m just picking up the easier problems to avoid drowning too early. One of the first requests was information about upgrading BizTalk Server 2006 (which I’ll call “R1” for convenience) to BizTalk Server 2006 R2. I thought I would share my findings in case others are looking…