RohitGaikwad-1270 avatar image
0 Votes"
RohitGaikwad-1270 asked RohitGaikwad-1270 commented

BizTalk 2020 migrated applications/interface are running twice

Hello All there,

Recently I have migrated BizTalk applications from 2013R2 to BizTalk 2020. So after migration the interfaces are running twice as I can see in tracked service instance. In our new environment we have two BizTalk application servers and one SQL Server of BizTalk. BizTalk is installed and configured on both the servers. Host and Host instance are created on Both the servers. Please help us in resolving the issue. Please let me know if more information is needed.





image.png (22.3 KiB)
image.png (39.5 KiB)
image.png (34.4 KiB)
image.png (38.0 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What is the triggering mechanism for the Orchestrations? Is it a receive location? If so what adapter?

0 Votes 0 ·


Thanks for the reply. Orchestration is triggered using receive location. Different adapters used are,


0 Votes 0 ·

As per my answer below, the WCF-SQL should be on a Clustered Host Instance.

I'm not sure about the Schedule adapter, but that might need to be as well, I would do some testing with it.

File, is OK on a host instance that is running on two nodes as it uses file locking which prevents duplicates, you can also tick Rename files when reading under Advanced settings, but usually not needed. There is an edge case of a clustered file share with replication causing duplicates, but even using a clustered host instance didn't solve that.

WCF-BasicHttp runs in the isolated host (which you can't cluster anyway), but that doesn't cause duplicates as whatever client is sending to that will only be connecting to one host instance at a time.

1 Vote 1 ·
Show more comments

1 Answer

ColinDijkgraaf avatar image
0 Votes"
ColinDijkgraaf answered RohitGaikwad-1270 commented

There are some adapters that you want running on a Clustered Host Instance e.g. that is only running on a single node a time, as these adapters have no mechanism to prevent picking the messages up at the same time.

These include

  • POP3 (possibly also the new Office 365 Mail adapter)


  • FTP(s)

  • SFTP

  • MSMQ

  • SAP

  • receive adapter that supports ordered delivery

See Clustering Receiving Hosts

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI Colin,

The issue is resolved. There was no need to cluster the adapters or hosts. The receive handlers which we used were created as a host instances. So this host instances has to be created only on one server. Creating the receive handler on both servers caused the BizTalk applications to run twice. We later deleted the unwanted host instances from second server and all the application are running fine now. Thanks for your reply. I will mark this as a answer.

0 Votes 0 ·