<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>More on using a TransactionScopeActivity within a ReceiveActivity</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/08/08/more-on-using-a-transactionscopeactivity-within-a-receiveactivity.aspx</link><description>Part 1 part 2 Part 3 Part 4 In a previous blog post I write about what happens when you place a TransactionScopeActivity within a ReceiveActivity and an exception occurs that is supposed to roll back the transaction. In short the story was very bad and</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>A bit more about using TransactionScopeActivity within a ReceiveActivity</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/08/08/more-on-using-a-transactionscopeactivity-within-a-receiveactivity.aspx#1647896</link><pubDate>Tue, 16 Sep 2008 10:14:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647896</guid><dc:creator>WF Community Bloggers</dc:creator><description>&lt;p&gt;Part 1 part 2 Part 3 Part 4 You may recall my previous posts about using the TransactionScopeActivity&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647896" width="1" height="1"&gt;</description></item><item><title>Using a TransactionScopeActivity within a ReceiveActivity in a state machine workflow - The Problem Solver</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/08/08/more-on-using-a-transactionscopeactivity-within-a-receiveactivity.aspx#1647893</link><pubDate>Tue, 16 Sep 2008 10:10:40 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647893</guid><dc:creator>Using a TransactionScopeActivity within a ReceiveActivity in a state machine workflow - The Problem Solver</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Using a TransactionScopeActivity within a ReceiveActivity in a state machine workflow - The Problem Solver&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647893" width="1" height="1"&gt;</description></item><item><title>More on using a TransactionScopeActivity within a ReceiveActivity - The Problem Solver</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/08/08/more-on-using-a-transactionscopeactivity-within-a-receiveactivity.aspx#1647891</link><pubDate>Tue, 16 Sep 2008 10:09:20 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647891</guid><dc:creator>More on using a TransactionScopeActivity within a ReceiveActivity - The Problem Solver</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;More on using a TransactionScopeActivity within a ReceiveActivity - The Problem Solver&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647891" width="1" height="1"&gt;</description></item><item><title>A bit more about using TransactionScopeActivity within a ReceiveActivity</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/08/08/more-on-using-a-transactionscopeactivity-within-a-receiveactivity.aspx#1647890</link><pubDate>Tue, 16 Sep 2008 10:06:05 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647890</guid><dc:creator>The Problem Solver</dc:creator><description>&lt;p&gt;You may recall my previous posts about using the TransactionScopeActivity within a ReceiveActivity and&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647890" width="1" height="1"&gt;</description></item><item><title>re: More on using a TransactionScopeActivity within a ReceiveActivity</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/08/08/more-on-using-a-transactionscopeactivity-within-a-receiveactivity.aspx#1647780</link><pubDate>Mon, 15 Sep 2008 00:07:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647780</guid><dc:creator>Kenny Wolf</dc:creator><description>&lt;p&gt;FWIW, the documentation also mentions this (though it isn&amp;#39;t particularly helpful since you don&amp;#39;t get viable alternatives in 3.5)&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/system.workflow.activities.receiveactivity.aspx"&gt;msdn.microsoft.com/.../system.workflow.activities.receiveactivity.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;To ensure that persistence performs properly and does not persist transient messages, make sure that child activities of the ReceiveActivity do not persist by themselves. This can occur if the child activities go idle when a persistence provider was created with UnloadOnIdle set to true, for instance. &amp;quot;&lt;/p&gt;
&lt;p&gt;It is an unfortunate limitation, and one we plan on addressing in the next release.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647780" width="1" height="1"&gt;</description></item><item><title>re: More on using a TransactionScopeActivity within a ReceiveActivity</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/08/08/more-on-using-a-transactionscopeactivity-within-a-receiveactivity.aspx#1647778</link><pubDate>Sun, 14 Sep 2008 23:55:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647778</guid><dc:creator>Kenny Wolf</dc:creator><description>&lt;p&gt;Unfortunately this is not supported in 3.5 and you hit numerous issues if you try (as you&amp;#39;ve experienced). RecieveMessage in 3.5 was authored as a non-persistable activity (the data it receives is not necessarily persistence-friendly), so either going idle or hitting a persist point (through transactions or [PersistOnClose]) will cause ReceiveMessage all sorts of problems. Life gets better in 4.0 and I&amp;#39;ll be able to provide those details after PDC (late October).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647778" width="1" height="1"&gt;</description></item></channel></rss>