Neil Thompson

BizTalk | .NET | SQL |

  Home  |   Contact  |   Syndication    |   Login
  15 Posts | 20 Stories | 45 Comments | 55 Trackbacks

News

Article Categories

Archives

Post Categories

Fav BizTalk Blogs

BizTalk 2006 seems to have a deployment quirk that has been no small source of frustration for me.  I don't know if this is widespread or if I just have a bad install but it seems that whenever I change a port (add a port or remove a port) I get an error similar to the following when I try to deploy that assembly from Visual Studio,

Error 26 Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Failed to update binding information. Could not enlist orchestration 'Orchestration.UpdateRequestStatus,Orchestration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f96e91b6b75bb727'. Could not enlist orchestration 'Orchestration.UpdateRequestStatus'. All orchestration ports must be bound and the host must be set.

I've done some reading and a lot of thinking and all I can come up with is that BizTalk must be cacheing the binding information and reapplying it when I redeploy the assemblies. The part of it that burns me is that the DEPLOYMENT of the orchestrations fails because of a binding error. If you think about that for a second you realise that you can not change the binding information for assemblies that are not deployed so you get stuck.

I have not been able to find references to the binding cache, though my research is admittedly limited.  On the hunch that this cache exists and is the source of my problem I tried incrementing the version on my orchestration assembly so BizTalk would ignore its previously cached info (its a new assembly version after all) and voila! It deployed my assemblies without complaining.

Two possible solutions to this that i know of are:

  1. Change version (or key I suppose) on the orchestration assemblies
  2. Deploy the orchestration assembly by adding it as a resource to the appropriate app in the biztalk admin tool

 

posted on Thursday, October 12, 2006 8:39 AM

Feedback

# re: Orchestrations fail to deploy due to binding errors 2/22/2007 12:05 AM Antonio Addario
I had a simlar problem. I changed the Port binding to "Specify Later" and that did work

# re: Orchestrations fail to deploy due to binding errors 4/18/2007 9:58 AM Bas de Gier
I also run into this trouble...
The fastest way to solve it is your option 2, then rebind your orchestrations in VS. After fixing the bindings, deploying from VS works fine again.


# re: Orchestrations fail to deploy due to binding errors 5/31/2007 9:59 PM Mohamed Hachem


Solution :

1) go to biztalk server 2006 administration console
2) look on resources, rightr click add Biztalk Assemblies
(all missing ones those that are usually automatically
deployed)
3) Go to VS deploy all will work like before, Cheers

:) love this tricky beast

# re: Orchestrations fail to deploy due to binding errors 10/19/2007 9:20 AM wchen
I have the same problem. I resolved it by setting "redploy=false".

Solution

1. right click on orchestration project
2. choose properties
3. choose deployment on left panel
4. set redeploy=false under general on right panel

# re: Orchestrations fail to deploy due to binding errors 1/3/2008 7:50 AM James French
Additional info to above.

On deployment the deployment program which is run by Visual Studio creates/updates one or more BindingInfo.xml files in the folder C:\Documents and Settings\[user name]\Application Data\Microsoft\BizTalk Server\Deployment\BindingFiles. There are two versions of this file depending on whether you are deploying to a new application or are redeploying.

If you deploy a new application the file is created based on reflection of the Assembly which contains the orchestration and is prefixed with a ~ (tilda) character.

If you re-deploy an existing application the binding file is created based on the binding info held in the BizTalkMgmt database for the assembly being published. This file does not have the ~ (tilda) prefix.

The deployment process attempts to apply these bindings after (re)deployment.

I have found that by deleting the Binding.Info.Xml files in the temp folder as well as deleting the Application via the BizTalk management console that the above mentioned error no longer occurs because the deployment program always uses a fresh binding.info.xml file based on the assembly and not what was previously in the database. (PS: Note that I am developing on one machine and deploying onto a second machine).


# re: Orchestrations fail to deploy due to binding errors 1/4/2008 12:13 PM shankarpv
Solution by James French worked for me.

# re: Orchestrations fail to deploy due to binding errors 3/21/2008 4:03 AM sprinter
Change version is right solution

# re: Orchestrations fail to deploy due to binding errors 4/21/2008 6:06 PM pavel
this worked ... thank you

"I have the same problem. I resolved it by setting "redploy=false".

Solution

1. right click on orchestration project
2. choose properties
3. choose deployment on left panel
4. set redeploy=false under general on right panel "

# MSI fails to install due to binding errors 7/3/2008 12:26 PM Frank Castle
I am getting this error while trying to import an MSI file for the first time from one BT2006 implementation to an entirely different BT2006 implementation. I am tried installing it from explorer which appears to work correctly, but then it notifys that I must now import via Admin... I go to do that and it fails. I then have nothing to look at in Admin and I have to options to select to do anything differently. what could I be doing wrong?

I am assuming this could still be relevant to the current topic due to the error text being the same... apologies if I am incorrect.

# re: Orchestrations fail to deploy due to binding errors 9/5/2008 12:52 PM Srikanth Dasari
I got it working by deleting the application dll binding files from C:\Documents and Settings\[UserName]\Application Data\Microsoft\BizTalk Server\Deployment\BindingFiles

# re: Orchestrations fail to deploy due to binding errors 9/9/2008 2:32 PM Consuelo Sanders
Thanks - solution provided by James French worked for me!! Thanks for this.

# re: Orchestrations fail to deploy due to binding errors 4/14/2009 8:56 AM Basil
Thnaks Dasari, your solution just worked fine.

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: