BizTalk Troubleshooting: Could not enlist Send Port. Exception from HRESULT: 0xC00CE557

Issue

While on a conversion project converting 35 integrations to and from Siebel 8.1 from BizTalk 2006 R2 to BizTalk 2013 I found this error:

Could not enlist Send Port. Exception from HRESULT: 0xC00CE557

Cause

Turned out it is not related to conversion, but to editing a binding file. I use Notepad++ as text editor, but Visual Studio would do the same thing.

When editing the bindings file the editor added CRLFs before and after the content of the filter tags. Could be because the content of that tag is escaped, but that is besides the point. 

Solution

If you edit your bindings file and encounter this exception, check the filter tags in the binding file. If the filter tags are on a separate line from the content, like this:

<Filter> 
  
<?xml version="1.0" encoding="utf-16"?> 
  
<Filter xmlns:xsi=" 

 

Make sure you remove that CRLF, like this:

<Filter><?xml version="1.0" encoding="utf-16"?> 
  
<Filter xmlns:xsi=" 

Remember to do the same to the closing tags and re import the bindings.

That should take care of the error enlisting your newly created port.

See Also

Read suggested related topics:

Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.