Microsoft KB Archive/936267

= Multicast messages over 1 MB may not reach the destination queue in Message Queuing 4.0 =

Article ID: 936267

Article Last Modified on 10/31/2007

-

APPLIES TO


 * Microsoft Message Queuing 4.0

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
Consider the following scenario:
 * On a Windows Vista-based computer, you create a private queue or a public queue in Microsoft Message Queuing 4.0.
 * You use the MulticastAddress property to associate the private queue or the public queue with a multicast address.
 * You send a message to the multicast address.
 * The message is larger than 1 megabyte (MB).

In this scenario, the receiver cannot receive the message.



CAUSE
This problem occurs because the receiver closes the connection that the sender initiates. The receiver closes the connection if the receiver takes more than 2 minutes to receive the message.

By default, the receiver raises the CMulticastListener::CleanupUnusedReceiver event every 2 minutes to close the connection that the sender initiates.



WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this problem, you can use one or both of the following methods.

Method 1
This method reduces the frequency that the receiver raises the CMulticastListener::CleanupUnusedReceiver event to close the connection that the sender initiates.  Click Start, type regedit in the Start Search box, and then click Regedit in the Programs list. If you are prompted for confirmation, click Continue.

Note If you are prompted for an administrator password, type the password, and then click OK. Locate the following registry subkey:

 Add the MulticastReceiversCleanupTimeout registry entry:  On the Edit menu, point to New, and then click DWORD Value. Type MulticastReceiversCleanupTimeout for the name of the registry entry, and then press ENTER. Right-click the MulticastReceiversCleanupTimeout registry entry, and then click Modify.</li> In the Value data box, type, and then click OK.

Note  represents the frequency in milliseconds that the receiver raises the CMulticastListener::CleanupUnusedReceiver event. For example, if you specify 300,000 for, the receiver raises the CMulticastListener::CleanupUnusedReceiver event every 5 minutes.</li></ol> </li> Exit Registry Editor, and then restart the computer.</li></ol>

Method 2
This method increases the maximum rate in kilobits per second (Kbps) that the receiver can receive messages through a multicast address. <ol> Click Start, type regedit in the Start Search box, and then click Regedit in the Programs list. If you are prompted for confirmation, click Continue.

Note If you are prompted for an administrator password, type the password, and then click OK.</li> Locate the following registry subkey:

</li> Add the MulticastReceiversCleanupTimeout registry entry. <ol style="list-style-type: lower-alpha;"> On the Edit menu, point to New, and then click DWORD Value.</li> Type MulticastRateKbitsPerSec for the name of the DWORD, and then press ENTER.</li> Right-click MulticastRateKbitsPerSec, and then click Modify.</li> In the Value data box, type, and then click OK.

Note  represents the maximum rate in Kbps that the receiver receives message by using a multicast address. For example, if you specify 1,000 for, the maximum rate that the receiver receives message is increased to 1,000 Kbps. This setting supplies additional bandwidth for the connection that the sender initiates within a specific time interval.</li></ol> </li> Exit Registry Editor, and then restart the computer.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kbexpertiseadvanced kbprb kbinfo KB936267

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.