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

[code language=”xml”]
<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>
[/code]

SOLUTION

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

[code language=”xml”]
<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>
[/code]

Loved this? Spread the word


BizTalk Server Monitoring

Gautam

Follow me here

About the Author

My name is Gyanendra Kumar Gautam. I am Solution Consultant, who basically works to hook the stuff together using Microsoft technologies like Azure PaaS, Azure Serverless Services, Microsoft BizTalk Server, and Azure DevOps Services.

You may also like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
turbo360

Never miss a good story!

 Subscribe to my blog to keep up with the latest news!