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 translations Article translations
Article ID: 894683 - View products that this article applies to.
Expand all | Collapse all

On This Page


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: Date
Time: Time
User: N/A
Computer: ComputerName
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]


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 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 software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


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 "Hotfix installation information" 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:
  1. Run the hotfix package to install the hotfix files.
  2. Restart the BizTalk Base EDI service.
  3. Copy the Genins.exe file to the EDI\Subsystem folder.
  4. Make sure that the BizTalk service is running and that the BizTalk Base EDI service is running.
  5. At a command prompt, type the following command:
  6. Restart the BizTalk Base EDI service.
After you apply this hotfix, the Base EDI Adapter can process a message that has a maximum of 9,999,999,999 segments.


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


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


Article ID: 894683 - Last Review: November 15, 2007 - Revision: 1.7
  • Microsoft BizTalk Server 2004 Standard Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Developer Edition
kbautohotfix kbbiztalk2004sp2fix kbbiztalk2004-2006swept kbbtsadapters kbbug kbfix kbhotfixserver kbqfe KB894683

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from