Telerik blogs

Telerik OpenAccess ORM uses Microsoft Message Queuing for (optional) synchronization of the L2Cache. The principal setup is described here. In some cases the default settings as described in the documentation are not sufficient.

Having more than one network interface card

In cases where you have more than on network interface card on the machine you are running the MSMQ, you might get into the problem, that the MSMQ doesn’t know which nic to use. In effect it starts to randomly use a nic. A message like this will appear in your event log.

   1: Message Queuing found multiple IP addresses for the 
   2: local computer. Message Queuing will use the default IP address 
   3: determined by the PGM driver for multicast messages. To use a 
   4: different IP address, set the \HKLM\Software\Microsoft\MSMQ\Parameters\MulticastBindIP 
   5: registry value to one of the following valid IP addresses: xxx.xxx.xxx.xxx

You could solve this problem by setting the "MulticastBindIP” property in the registry. Details can be found here.

 

Having no connected network interface cards

In cases where you don’t have a network connection(i.e. for demonstration purposes on a disconnected machine), you usually cannot work with the MSMQ. To solve this, you could install a new ‘Microsoft Loopback Adapter’ and MSMQ is able to work again. To do this perform the following steps:

  • Run “hdwwiz.exe” from the command line
  • Select “Install the hardware that I manually select from a list (Advanced)" -> Click Next
  • Select "Network Adapters" -> Click Next
  • Select Microsoft and select "Microsoft Loopback Adapter" -> Click Finish

 

With these hints in mind, it should be easy for you to set up your MSMQ configuration.


Comments

Comments are disabled in preview mode.