Microsoft KB Archive/870949

= BUG: You cannot save messages that are larger than 18 MB from the Orchestration Debugger in BizTalk Server 2004 =

Article ID: 870949

Article Last Modified on 1/12/2007

-

APPLIES TO


 * Microsoft BizTalk Server 2004 Developer Edition
 * Microsoft BizTalk Server 2004 Enterprise Edition
 * Microsoft BizTalk Server 2004 Partner Edition
 * Microsoft BizTalk Server 2004 Standard Edition

-





Notice
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
When you try to save a message that is larger than 18 MB from the Orchestration Debugger in Microsoft BizTalk Server 2004, you may receive the following error message from the Health and Activity Tracking (HAT) tool:

The following error occurred when extracting variable information from the Runtime:

Only one usage of each socket address (protocol/network address/port) is normally permitted



CAUSE
This problem occurs because new TCP ports are opened every time that data is read from the message stream across the remoting boundary. When remoting opens and closes a TCP connection, it takes four minutes for the connection to finally close. This time delay is dictated by RFC-793 Section 3.5.



RESOLUTION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

We recommend that you save live messages from the HAT Operations view. However, to resolve this problem, you can use one or both of the following methods:

Method 1: Adjust dynamically allocated ports
The  registry key determines the upper limit of the socket number that can be dynamically returned. By default, the upper limit is 5000 unless you specify the upper limit. You can increase this number, but it costs some kernel memory. To do this, follow these steps:
 * 1) Click Start, click Run, type regedit, and then click OK.
 * 2) Locate and then expand the   registry key.
 * 3) Locate and then right-click MaxUserPort.
 * 4) Click Modify, type the appropriate value, and then click OK.

Note The valid range of this value is 5000 through 65534 (decimal).

Note You must restart your computer for this change to take effect.

Method 2: Adjust port reserved time
The  registry key determines how long before the port is available for use again. By default, this value is 4 minutes. The recommended value is 30 seconds. To set this value, follow these steps:
 * 1) Click Start, click Run, type regedit, and then click OK.
 * 2) Locate and then expand the   registry key.
 * 3) Locate and then right-click TcpTimedWaitDelay.
 * 4) Click Modify, type the appropriate value, and then click OK.

Note The valid range for this value is 30 through 300 (decimal), and the time value is in seconds.

Note You must restart your computer for this change to take effect.



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 kbbug KB870949

-

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

© Microsoft Corporation. All rights reserved.