FIX: "Root element is missing" error in BTAHL72XMLReceivePipeline when you receive messages by using MLLP adapter in BizTalk Server

Dotyczy: BizTalk Server 2016 BranchBizTalk Server 2016 DeveloperBizTalk Server 2016 Enterprise

Symptoms


Assume that you use a Minimal Lower Layer Protocol (MLLP) adapter to process messages on the receive side by using BTAHL72XMLReceivePipeline in Microsoft BizTalk Server. In this scenario, you may notice that the MLLP adapter receives only few messages and then fails when you push more messages by using the MLLP send tool. Additionally, you may receive the following exception error message:

Exception occured while executing pipeline BTAHL72XMLPipelines.BTAHL72XMLReceivePipeline, BTAHL72XMLPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=TokenID: msg=Root element is missing., stack=   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at Microsoft.BizTalk.Streaming.Utils.GetDocType(MarkableForwardOnlyEventingReadStream stm, Encoding encoding)
   at Microsoft.Solutions.BTAHL7.Pipelines.HL72XmlDasm.SaveMessageAndSetDocType(IPipelineContext pc, IBaseMessage inMsg)
   at Microsoft.Solutions.BTAHL7.Pipelines.HL72XmlDasm.Disassemble(IPipelineContext pc, IBaseMessage inMsg)
   at Microsoft.BizTalk.PipelineOM.DisassemblingParserStage.Disassemble(IBTMPipelineContext pc, IBaseMessage inMsg, Int32 dasmStageIndex)
   at Microsoft.BizTalk.PipelineOM.ReceivePipeline.Execute(IBaseMessage msgIn)

Resolution


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

       Cumulative Update 4 for Microsoft BizTalk Server 2016

Status


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

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