Microsoft KB Archive/894683

= FIX: The Base EDI Adapter does not process a large EDI message and Event ID 23 is logged in the Application log in BizTalk Server 2004 =

Article ID: 894683

Article Last Modified on 11/15/2007

-

APPLIES TO


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

-





SYMPTOMS
When you submit a large EDI message to the Microsoft BizTalk Server 2004 Base EDI Adapter, the BizTalk Server Base EDI Adapter does not process the message. Additionally, the following Error event is logged in the Application event log: Event Type: Error

Event Source: EDI Subsystem

Event Category: BizTalk Server 2004

Event ID: 23

Date:

Time:

User: N/A

Computer:

Description: Error encountered: ERROR (62), docnr 10017 : The length of the element is not correct. Contact the sender. target format: [5 00401 ], document: [852 004010DEFAULT X ], segment: [#5:SE ], element: [#1: 96:Number of included segments], Integer part exceeds the maximum of 6 digits, value: [1157980]



CAUSE
This problem occurs if you submit an EDI document that has more than 999,999 segments. The BizTalk Server 2004 Base EDI Adapter has a limitation where it cannot process a document that has more than 999,999 segments.



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

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

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

Prerequisites
You must be running BizTalk Server 2004 Service Pack 1 (SP1) to install this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

888751 How to obtain the latest BizTalk Server 2004 service pack

Restart requirement
You do not have to restart your computer after you apply this hotfix. However, you must restart the BizTalk Base EDI service to apply the changes after you install and configure this hotfix. For more information, see the &quot;Hotfix installation information&quot; section.

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

File information
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 tool in Control Panel.   Date         Time   Version       Size     File name --  08-Mar-2005  18:43  4.0.2140.5     35,328  Compeif.exe 07-Oct-2003 00:21                155,136  Edibtsmmc.msc 08-Mar-2005 18:43  4.0.2140.0     17,920  Edimmcresdll.dll 08-Mar-2005 18:43  4.0.2140.11   241,664  Edimmcsnapin.dll 08-Mar-2005 18:43  4.0.2140.198  851,968  Esp.dll 08-Mar-2005 18:43  4.0.2140.13   172,032  Esproxy.dll 08-Mar-2005 18:42  4.0.2140.23    81,920  Esp_btsoma.dll 08-Mar-2005 18:42  4.0.2140.25   118,784  Esp_cli.dll 08-Mar-2005 18:43  4.0.2140.2     22,016  Esp_err.dll 08-Mar-2005 18:43  4.0.2140.26    23,040  Esp_files.dll 08-Mar-2005 18:42  4.0.2140.49    86,016  Esp_gen.dll 03-Feb-2005 18:38                  3,002  Esp_ini.template 08-Mar-2005 18:43  4.0.2140.28    23,040  Esp_sqlsrv2000.dll 08-Mar-2005 18:43  4.0.2140.25    23,552  Esp_srv.exe 08-Mar-2005 18:42  4.0.2140.187  372,736  Esp_trans.dll 08-Mar-2005 18:43  4.0.2140.16    33,280  Esp_voyager.dll 08-Mar-2005 18:44  4.0.2140.1    176,128  Genins.exe 10-Mar-2005 21:08  4.0.2140.0     65,536  Microsoft.biztalk.adapter.edi.common.dll 10-Mar-2005 21:08  4.0.2140.0    110,592  Microsoft.biztalk.adapter.edi.manager.dll 10-Mar-2005 21:08  4.0.2140.0     32,768  Microsoft.biztalk.adapter.edi.receiver.dll 10-Mar-2005 21:08  4.0.2140.0     49,152  Microsoft.biztalk.adapter.edi.resourcer.dll 10-Mar-2005 21:08  4.0.2140.0     20,992  Microsoft.biztalk.adapter.edi.sspi.dll 10-Mar-2005 21:08  4.0.2140.0     36,864  Microsoft.biztalk.adapter.edi.transmitter.dll 10-Mar-2005 21:08  4.0.2140.0     11,264  Microsoft.biztalk.extension.edi.errortext.dll 10-Mar-2005 21:08  4.0.2140.0    643,072  Microsoft.biztalk.extension.edi.hatplugin.dll 10-Mar-2005 21:08  4.0.2140.0     94,208  Microsoft.biztalk.extension.edi.schemaeditor.dll 08-Mar-2005 18:43  4.0.2140.5      7,680  Trigcon.exe 08-Mar-2005 18:43  4.0.2140.5    180,224  Validins.exe 08-Mar-2005 18:44  4.0.2140.60   696,320  Xsd2edi.exe Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

Hotfix installation information
To apply this hotfix, follow these steps:  Run the hotfix package to install the hotfix files. Restart the BizTalk Base EDI service. Copy the Genins.exe file to the EDI\Subsystem folder. Make sure that the BizTalk service is running and that the BizTalk Base EDI service is running. At a command prompt, type the following command:

COMPEIF.EXE

 Restart the BizTalk Base EDI service.</li></ol>

After you apply this hotfix, the Base EDI Adapter can process a message that has a maximum of 9,999,999,999 segments.

<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, 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

Additional query words: eBiz BTS BTS2004

Keywords: kbbug kbfix kbqfe kbbtsadapters kbhotfixserver kbbiztalk2004-2006swept KB894683

-

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

© Microsoft Corporation. All rights reserved.