Microsoft KB Archive/259263

= FIX: MSMQ Sending Message Larger Than 1 MB Fails on Dependent Client with Windows 2000 Controller =

Article ID: 259263

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Message Queuing 2.0

-



This article was previously published under Q259263



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
If you send a message that is larger than 1 megabyte (MB) from a Dependent Client (DC), when a Microsoft Windows 2000 Server is acting as the Message Queuing (MSMQ) controller for the DC, the operation fails and you receive the following error message:

The Message Queuing service is not available.



CAUSE
By default, Windows 2000 limits the size of incoming Microsoft Remote Procedure Call (RPC) packets to 1 MB.



RESOLUTION
To resolve this problem, increase the packet size. To do this, follow these steps:  On the Windows 2000 Message Queue Server, start Registry Editor. (To do this, click Start, click Run, type regedit, and then click OK.) Open the following registry key:

HKLM\Software\Microsoft\Rpc

 Add a new DWORD value named MaxRpcSize to the key. Give the MaxRPCSize parameter a value of 0x00400000 (4 MB). Close Registry Editor. Restart the MSMQ Service so that the change can take effect.</li></ol>

<div class="status_section">

STATUS
This problem was corrected in Microsoft Windows 2000 Service Pack 2.

<div class="references_section">