Gorgo.Live.ToString()

Mariusz, Gorzoch tech Blog

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

Advertisements

Written by Mariusz Gorzoch

25 January 2012 at 16:13

Posted in BizTalk 2010

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: