Thoughts on Integrating Systems & IoT

BizTalk 2009 – Error Enlisting Send Port – “Exception from HRESULT: 0xC00CE557”

It’s the second time that I have encountered this obscure error in BizTalk 2009, when attempting to enlist a send port after importing bindings originally exported via the admin console:

BizTalk 2009 - Error Enlisting Send Port

BizTalk 2009 – Error Enlisting Send Port

Both times (for different customers) the issue was that an extra carriage return and line feed had been inputted before and after the <Filter> element in the offending bindings file that was being imported, like this:

Bindings File - <Filter> Element Contains Carriage Return and Line Feed

Bindings File – Element Contains Carriage Return and Line Feed

This had a two fold effect – filter expressions were missing from the send port and also the error above enlisting the send port.

I carefully checked the bindings file and discovered other <Filter> elements with extra carriage returns and line feeds: I removed them, like so:

Bindings File - Extra Carriage Return and Line Feed Removed From <Filter> Element

Bindings File – Extra Carriage Return and Line Feed Removed From Element

On import of the bindings file again, I could then see my filter expressions and also could enlist the send port…

I have only ever come across this error in BizTalk 2009.

Also, although I am doing so for the send port in the bindings file snippet, I don’t filter on receive port names in Production ready solutions…  Only sometimes during initial development do I do so!  It is better to filter on context properties such as BTS.MessageType, WCF.Action and BTS.Operation.

Advertisements

One response

  1. Seen this one a few times James, it seems to happen from time to time if binding files are manually updated using Visual Studio, especially if the filter sections are being touched. Performing the same action in a text editor like notepad seems to be a lot safer. Good catch!

    March 1, 2014 at 9:26 pm

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