donderdag 9 december 2010

BTS 2009: "Failed to update binding information"

We were redeploying one of our mappings to Biztalk 2009 by just adding the assembly to the resources in the BizTalk Admin Console. By doing this we got a strange looking error as shown in below figure.







The error detail is : 'Receive Location 'Receive Order Port' has no Transport Type specified.


The actual error is quite clear, the strange thing however is that the receive location that is mentioned didn't exist anymore in our application.

After doing some research I found out that BizTalk stores info about the last deployments in a local folder, namely 'C:\Documents and Settings\[user name]\Application Data\Microsoft\BizTalk Server\Deployment\BindingFiles' (Or for windows Vista / windows 7 in 'C:\Users\[user name]\AppData\Roaming\Microsoft\BizTalk Server\Deployment\BindingFiles').
And when doing a redeploy of some resources, BizTalk will still use this locally stored information. When this information then is wrong, you'll get a 'failed to update binding information' error.

The solution to this problem is quite easy, just remove all binding info files. After this you shouldn't get any more errors, at least not of this kind :).

2 opmerkingen: