Mariusz, Gorzoch tech Blog

Archive for January 2012

UseAmbientTransaction = True

leave a comment »

Be carefully when you are using “UseAmbientTransaction=True” on the SQL receive port. This is especially important when you are calling stored procedure (sp) with under the hood performs some updates. When you use that property then BizTalk is performing execution under the transaction and this transaction get rollback even in case when BizTalk can not find subscribers for it. This is extremely important as if you sp works in the way that it return record and then mark it as processed then this will not be done and the some record will be return over and over again. On the end you will end up with hundreds errors on BizTalk and even kill your system.

be careful and good luck


Written by Mariusz Gorzoch

25 January 2012 at 16:13

Posted in BizTalk 2010