Could not enlist send port. The text associated with this error code could not be found.
The solution deployed using the BizTalk deployment framework and is ready to start but several send ports can not be enlisted. Trying to enlist them only yields the following messagebox:
Could not enlist Send Port ‘SendPortName’. The text associated with this error code could not be found.
Invalid xml declaration.
The send port has a filter tag which has encoded xml as content. this content is very sensitive to whitespace changes. This can happen if a code editor reformats the xml. I am using BizTalk 2016 but the error exists basically in all BizTalk versions as far as I know.
The broken code looks like:
The working code would be:
If you have proper source control running for you, then just rollback the last changes in your bindings file. I was too lazy and made two regex replacements:
After this, I had to do a full build and redeploy, but the error was gone.