All orchestration ports must be bound and the host must be set

Topics: Bindings File, Settings Management and SSO, General Questions, Getting Started/Beginner, Server Deployment
Sep 21, 2011 at 7:58 PM

I created the binding file from BizTalk Admin, exporting the bindings to <yourBizTalkProject>\Deployment\PortBindings.xml. I am getting this error when I try to deploy. 

Could not enlist orchestration 'TryBTSDeployment.Orchestration.BTSProcessing,TryBTSDeployment.Orchestration, Version=, Culture=neutral, PublicKeyToken=b12b3e18ce40b4bb'. Could not enlist orchestration 'TryBTSDeployment.Orchestration.BTSProcessing'. All orchestration ports must be bound and the host must be set

I have tried this option as mentioned in another thread, but it doesn't work for me.

<Target Name="CustomPostDeployTarget">
Command="BTSTask.exe RemoveResource -ApplicationName:&quot;$(BizTalkAppName)&quot; -Luid:&quot;FullyQualifiedNameOfBindingFileResource&quot;" />

Could anyone point me what I am doing wrong?
Sep 22, 2011 at 9:49 PM

I assume that you created your deployment project with the Add New Project wizard in Visual Studio.  Does your .btdfproj include a setting for UsingMasterBindings (or anything like MasterBindings)?  Do you have a PortBindingsMaster.xml or just PortBindings.xml?  When you see the "could not enlist" message it means exactly what it says -- not all of the ports on the orchestration have been bound.  Before you exported the bindings file, did you fully Start the application in BizTalk Admin?