PROBLEM
After changing the hostname for the MiCC server the Event Viewer shows MSMQ errors, and some MSMQ queues are not emptying.
SYMPTOMS
In the event viewer you will 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.
CAUSE
Messages queued already continue to have the old hostname referenced, and thus cannot be completed.
RESOLUTION
You will need to drop and rebuild these routing databases.
NOTE: Not all databases will need to be touched.
1. On the MiCC server open SQL Management Studio and connect to your local instance.
2. Open the Databases section.
3. Right-click CCMRouting and go to Tasks >Detach.
4. Put a checkmark under the Drop column and click OK.
5. Go to your SQL install directory (By default: C:\Program Files\Microsoft SQL Server\ and open the instance folder (eg: MSSQL11.SQLEXPRESS\MSSQL\DATA\)
6. Delete the CCMRouting.mdf and CCMRouting_log.ldf files.
7. Go to services.msc
8. Restart the MiContact Center Media Router service (called the prairieFyre Routing Media Service in MiCC 7.X)
9. Repeat steps 2 through 8 for:
- CCMRuntimeServices (delete CCMRuntimeServices.mdf and CCMRuntimeServices_log.ldf in step 6, and restart MiContact Center Mass Transit Runtime service in step 8.)
- Ccmwa (delete Ccmwa.mdf and Ccmwa_log.ldf in step 6, and restart the Ccmwa Application Pool in your IIS control panel for step 8.)
APPLIES TO
MiCC 7.X and newer
Keywords: hostname MSMQ error