MSMQ errors after changing the HostName of the MiCC server

Article ID: 52460 - Last Review: Sept 16, 2016


After changing the hostname for the MiCC server the Event Viewer shows MSMQ errors, and some MSMQ queues are not emptying. 


In the event viewer you may see errors such as the following:

Message Queuing could not resolve the name 'OLDHOSTNAME' to an IP address. Try to ping the recipient computer, and check this computer's DNS settings. This event is logged at most once per 600 seconds. To change this setting, set \HKLM\Software\Microsoft\MSMQ\Parameters\Event2184 registry value to desired time in seconds. 


Messages queued already continue to have the old hostname referenced, and thus cannot be completed. Also, error messages are being created in Outgoing Queues which have the old hostname. 


1. Purge the contents of each member of the Outgoing Queues in Message Queuing, as detailed in

2. Restart the Message Queuing service



MiCC 7.X and newer 

Keywords: hostname MSMQ error message queuing outgoing queues

Posted Friday, July 15, 2016 by AndrewMontpetit