Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

↑ Back to the top


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.

↑ Back to the top


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
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort
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
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    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
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpTimedWaitDelay
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
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    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.

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: KB870949, kbbug, kbtshoot

↑ Back to the top

Article Info
Article ID : 870949
Revision : 4
Created on : 1/12/2007
Published on : 1/12/2007
Exists online : False
Views : 260