Could not enlist Send Port ‘SendPort1’. The text associated with this error code could not be found.

I came across an error while trying to enlist one of my send ports while deploying a BizTalk application in a new environment.

Could not enlist Send Port ‘SendPort1’. The text associated with this error code could not be found.

image.png

REASON

This error was caused by an erroneous carriage return and line feed in the send port <Filter></Filter> element of an imported binding file.image.png

<Filter>
 &lt;?xml version="1.0" encoding="utf-16"?&gt;
 &lt;Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
 &lt;Group&gt;
 &lt;Statement Property="BTS.ReceivePortName" Operator="0" Value="CRMSAP.Receive.OneWay" /&gt;
 &lt;/Group&gt;
 &lt;Group&gt;
 &lt;Statement Property="BTS.MessageType" Operator="0" Value="http://Microsoft.LobServices.Sap/2007/03/Rfc/#_x002F_BIC_x002F_CQZWS_ONE00001000Response" /&gt;
 &lt;/Group&gt;
 &lt;/Filter&gt;
 </Filter>

SOLUTION

Remove the line break after the <Filter> tag to fix the issue.image.png

<Filter>&lt;?xml version="1.0" encoding="utf-16"?&gt;
 &lt;Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
 &lt;Group&gt;
 &lt;Statement Property="BTS.ReceivePortName" Operator="0" Value="CRMSAP.Receive.OneWay" /&gt;
 &lt;/Group&gt;
 &lt;Group&gt;
 &lt;Statement Property="BTS.MessageType" Operator="0" Value="http://Microsoft.LobServices.Sap/2007/03/Rfc/#_x002F_BIC_x002F_CQZWS_ONE00001000Response" /&gt;
 &lt;/Group&gt;
 &lt;/Filter&gt;
 </Filter>
Advertisements

One thought on “Could not enlist Send Port ‘SendPort1’. The text associated with this error code could not be found.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s