FIX: "Root element is missing" error occurs when messages are retried to send to FTP server in BizTalk Server 2010

Applies to: BizTalk Server Branch 2010BizTalk Server Developer 2010BizTalk Server Enterprise 2010

Symptoms


Consider the following scenario:
  • You use Temporary Folder in an FTP send port in Microsoft BizTalk Server 2010.
  • You select the Ordered delivery and Enable routing for failed messages options in the Transport Advanced Options page for the FTP send port.
  • You set the value of Representation as binary in the FTP Transport Properties dialog box for this FTP send port.
In this scenario, certain messages cannot be transferred to the FTP server intermittently. Additionally, you receive the following error message:
The adapter failed to transmit message going to send port "<SendPortName>" with URL "<FTPAddress>". It will be retransmitted after the retry interval specified for this Send Port. Details:"The remote server refused a data connection.Please check permissions on the remote system. "
After you receive the previous error message, messages are retried to send to the FTP server as per the send port settings. During the retry, you receive the following error message:
The adapter failed to transmit message going to send port "<SendPortName>" with URL "<FTPAddress>". It will be retransmitted after the retry interval specified for this Send Port. Details:"An unexpected failure occurred when processing a message. The text associated with the exception is "Root element is missing.". "
Then, messages are routed to the delivery failure location.

Note This issue has been already resolved in Microsoft BizTalk Server 2013 and BizTalk Server 2013 R2.

Cause


The issue occurs because the retry in binary mode confuses the disassembler. Therefore, the "Root element is missing" error occurs.

Resolution


Cumulative update information

This issue was first fixed in the following cumulative update of BizTalk Server:

Status


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