Microsoft KB Archive/941726

= FIX: Error message when you use a BizTalk adapter to send messages on a computer that is running BizTalk Server: &quot;Only one usage of each socket address (protocol/network address/port) is normally permitted&quot; =

Article ID: 941726

Article Last Modified on 10/19/2007

-

APPLIES TO


 * Microsoft BizTalk Adapter for Oracle Database
 * Microsoft BizTalk Adapter for PeopleSoft Enterprise
 * Microsoft BizTalk Adapter for Siebel eBusiness Applications

-



SYMPTOMS
Consider the following scenario. You use one of the following Microsoft BizTalk Adapters to send messages:
 * Microsoft BizTalk Adapter for Oracle Database
 * Microsoft BizTalk Adapter for PeopleSoft Enterprise
 * Microsoft BizTalk Adapter for Siebel eBusiness Applications

You also configure two send ports that use different BizTalk host instances on a computer that is running Microsoft BizTalk Server 2006.

In this scenario, the adapter works only intermittently when you use the adapter to send messages. Additionally, the following error messages are logged in the Application log:

Error message 1

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

Error message 2

Duplicate system defintion.

Note In this error message, &quot;defintion&quot; is a misspelling of &quot;definition.&quot;



CAUSE
This problem occurs because each host instance has a separate RuntimeAgent.exe process. At startup, each RuntimeAgent.exe process tries to connect to the back-end system. Each RuntimeAgent.exe process may try to access the same TCP/IP port that another RuntimeAgent.exe process is already accessing.



Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft BizTalk Adapter service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
There are no prerequisites to apply this hotfix.

Restart information
You do not have to restart the computer after you apply this hotfix.

Registry information
You do not have to change the registry.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
This hotfix contains only those files that are required to correct the issues that are mentioned in this article. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Notes
 * Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.
 * These BizTalk adapters are 32-bit only.



How to use this hotfix
After you apply this hotfix, you must manually register the Microsoft.BizTalk.Adapters.BizUtil.dll file in the global assembly cache. To do this, use one of the following methods.

Method 1: If you have Microsoft Visual Studio 2005 installed
 Click Start, point to All Programs, point to Microsoft Visual Studio 2005, point to Visual Studio Tools, and then click Visual Studio 2005 Command Prompt. At the Visual Studio command prompt, locate the following folder:

%ProgramFiles%\Common Files\Microsoft BizTalk Adapters for Enterprise Applications\Bin

 At the Visual Studio command prompt, run the following command:

gacutil /i Microsoft.BizTalk.Adapters.BizUtil.dll



Method 2: If you do not have Microsoft Visual Studio 2005 installed
 Click Start, click Run, type cmd, and then click OK. At the command prompt, locate the following folder:

%WINDIR%\Microsoft.NET\Framework\v1.1.4322

</li> At the command prompt, run the following command:

gacutil /i &quot;<Drive>:\Program Files\Common Files\Microsoft BizTalk Adapters for Enterprise Applications\Bin\ Microsoft.BizTalk.Adapters.BizUtil.dll&quot;

Note These BizTalk adapters use the .NET Framework 1.1.

</li></ol>

<div class="status_section">

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

<div class="moreinformation_section">

MORE INFORMATION
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbfix kbexpertiseadvanced kbpubtypekc kbqfe kbhotfixserver KB941726

-

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

© Microsoft Corporation. All rights reserved.