Share via


BizTalk Troubleshooting: The following items could not be matched up to hosts due to name and/or trust level mismatches

While trying to import the bindings you bumped into following error:

The following items could not be matched up to hosts due to name and/or trust level mismatches:

TITLE: Import Bindings

——————————

Failed to update binding information. (mscorlib)

——————————

ADDITIONAL INFORMATION:

Cannot update send port “***************************”. (Microsoft.BizTalk.Deployment)

——————————

Cannot update transport information (address “**********”). (Microsoft.BizTalk.Deployment)

——————————

*he following items could not be matched up to hosts due to name and/or trust level mismatches: *

Item: ‘FILE’ Host: ‘YourHostName’ Trust level: ‘Untrusted’

You must do one of the following:

1) Create hosts with these names and trust levels and try again

2) Re-export the MSI without the binding files and have a post import script apply a suitable binding file. (Microsoft.BizTalk.Deployment)

There could be two reasons behind this:

1. Check for the name of the host. Make sure the spelling matches with what has been provided in the binding file. If there is a mismatch then either change the name in your binding file or correct it on your host name.

2. Check for the receiver and send handlers on the adapter settings. Check on the binding file and see what handler is being used there, once identified go to the adapter settings and look if the handler is created.

For example

This is the part of the binding file script:

<SendHandler Name=”YourAdapterHost” HostTrusted=”false”>

          <TransportType Name=”FILE” Capabilities=”11″ ConfigurationClsid=”” />

  </SendHandler>

This line indicates that in the file adapter we should have a send handler created under the YourAdapterHost. Verify it by going to the adapters on Admin console and if the handler is not present we need to create it. See the image below.

https://psrathoud.files.wordpress.com/2016/02/addhandler.png?w=630

Please leave me a comment if you have any questions.