Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Could not enlist Send Port HRESULT: 0xC00CE557

Kevin Morillo

A quick tip today – I came across an error while trying to enlist one of my send ports while deploying a BizTalk application using the amazing BizTalk Deployment Framework.

“Could not enlist Send Port ‘X’. Exception from HRESULT: 0xC00CE557 (Microsoft.BizTalk.SnapIn.Framework)

Untitled picture

This error is commonly caused by a erroneous carriage return and line feed in the send port <Filter> element of an imported binding file – In this case, the PortBindingsMaster.xml binding file in my BTDF deployment configuration.

Untitled picture2

Below is the original filter expression.

<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.MessageType” Operator=”0″ Value=”
http://schemas.microsoft.com/Sql/2008/05/TypedProcedures/dbo#uspUpdateBatchStatus” /&gt;
&lt;/Group&gt;;
&lt;Group&gt;
&lt;Statement Property=”BTS.MessageType” Operator=”0″ Value=”
http://schemas.microsoft.com/Sql/2008/05/TypedProcedures/dbo#uspUpdateRecordStatus” /&gt;
&lt;Group&gt;
&lt;/Filter&gt;
</Filter>

Next is the fixed filter expression with the line break after the <Filter> tag removed.

<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.MessageType” Operator=”0″ Value=”
http://schemas.microsoft.com/Sql/2008/05/TypedProcedures/dbo#uspUpdateBatchStatus” /&gt;
&lt;/Group&gt;;
&lt;Group&gt;
&lt;Statement Property=”BTS.MessageType” Operator=”0″ Value=”
http://schemas.microsoft.com/Sql/2008/05/TypedProcedures/dbo#uspUpdateRecordStatus” /&gt;
&lt;Group&gt;
&lt;/Filter&gt;
</Filter>

Importing the binding file anew, or redeploying using BTDF will then update the binding in the deployed BizTalk application and allow for the successful start of the application.

5 Comments. Leave new

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

\\\