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.

FIX: EDI message processing from XML to flat file fails when it contains an empty node in a sub-loop in BizTalk Server


View products that this article applies to.

Symptoms

Assume that you are using Electronic Data Interchange (EDI) in Microsoft BizTalk Server. When you process the EDI message from the Extensible Markup Language (XML) to a flat file in the EDI send pipeline, you may notice that the process fails if the message contains an empty node in a sub-loop. For example, the node is denoted as <ns0:DTM_SubLoop/> instead of <ns0:DTM_SubLoop></ns0:DTM_SubLoop>.

Additionally, you may receive an error message that resembles the following:

Log Name:      Application

 

Source:        BizTalk Server
Date:            Date/Time
Event ID:      5743
Task Category: BizTalk Server
Level:        
Warning Keywords:     
Classic User:          N/A
Computer:      ComputerName
Description: The adapter failed to transmit message going to send port "SendPort1" with URL "FilePath\FileName". It will be retransmitted after the retry interval specified for this Send Port. Details:"Unable to read the stream produced by the pipeline.

 Details: Error: 1 (Segment level error)  
SegmentID: AMT  
Position in TS: 36  2:
Unexpected segment ".
Event Xml: <Event xmlns="FilePath\FileName">  
<System>    
<Provider Name="BizTalk Server" />    
<EventID Qualifiers="32960">5743</EventID>    
<Level>3</Level>    

<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="Date/Time" />    
<EventRecordID>1159013</EventRecordID>    
<Channel>Application</Channel>    
<Computer>ComputerName</Computer>    
<Security />  
</System>  
<EventData>    
<Data>SendPort1</Data>    
<Data>Data </Data>    
<Data>Unable to read the stream produced by the pipeline.
 Details: Error: 1 (Segment level error)  SegmentID: AMT  Position in TS: 36  2: Unexpected segment< /Data>   </EventData> </Event>

 

↑ Back to the top


Resolution

This issue is fixed in the following cumulative updates for BizTalk Server:

       Cumulative Update 7 for BizTalk Server 2013 R2

       Cumulative Update 3 for BizTalk Server 2016

↑ Back to the top


Status

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

↑ Back to the top


References

For information about the service packs and cumulative update list for BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:

2555976 Service pack and cumulative update list for BizTalk Server

For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:

2003907 Information about BizTalk hotfixes and Service Pack support

↑ Back to the top


Keywords: kb, kbqfe, kbfix, kbsurveynew, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 4038886
Revision : 9
Created on : 2/8/2018
Published on : 2/8/2018
Exists online : False
Views : 325