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



The information in this article 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:
  1. On the Windows 2000 Message Queue Server, start Registry Editor. (To do this, click Start, click Run, type regedit, and then click OK.)
  2. Open the following registry key:

    HKLM\Software\Microsoft\Rpc

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

STATUS

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

REFERENCES

Windows 2000 Help for MSMQ
MSDN Online Help for MSMQMessage

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbDSupport KB259263