<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.biztalkgurus.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>BizTalk 2006</title><link>http://www.biztalkgurus.com/forums/10.aspx</link><description>Questions on Microsoft Biztalk Server 2006</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Debug Build: 40407.4157)</generator><item><title>Re: bts_UpdateMsgbox_BizTalkServerApplication deadlocks due to PersistenceItemException</title><link>http://www.biztalkgurus.com/forums/thread/7899.aspx</link><pubDate>Tue, 19 Dec 2006 18:05:01 GMT</pubDate><guid isPermaLink="false">c4dd2918-4541-4a95-8338-be99430f076e:7899</guid><dc:creator>DMWilkison</dc:creator><slash:comments>0</slash:comments><comments>http://www.biztalkgurus.com/forums/thread/7899.aspx</comments><wfw:commentRss>http://www.biztalkgurus.com/forums/commentrss.aspx?SectionID=10&amp;PostID=7899</wfw:commentRss><description>&lt;p&gt;I would look first to the state of the sql server running the bts management dbs.&amp;nbsp; Enough room, db and indexes in good shape? etc.&amp;nbsp; Then I would look to the throttling parameters.&amp;nbsp; I believe your sql engine is under powered, or overly constrained in some way.&amp;nbsp; &lt;/p&gt;&lt;p&gt;try simplifying the system to find the bottle neck.&amp;nbsp; Is the ws that handles the sql inserts handling its deadlocks appropriately? can you convert to use bts sql adapter to test?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: bts_UpdateMsgbox_BizTalkServerApplication deadlocks due to PersistenceItemException</title><link>http://www.biztalkgurus.com/forums/thread/7880.aspx</link><pubDate>Tue, 19 Dec 2006 01:48:40 GMT</pubDate><guid isPermaLink="false">c4dd2918-4541-4a95-8338-be99430f076e:7880</guid><dc:creator>Stephen W. Thomas</dc:creator><slash:comments>0</slash:comments><comments>http://www.biztalkgurus.com/forums/thread/7880.aspx</comments><wfw:commentRss>http://www.biztalkgurus.com/forums/commentrss.aspx?SectionID=10&amp;PostID=7880</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Not sure on this one.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Have you tried to put the code into two separate Application in separate hosts?&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;It sounds like something MS Support might be able to help with.&lt;/font&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>bts_UpdateMsgbox_BizTalkServerApplication deadlocks due to PersistenceItemException</title><link>http://www.biztalkgurus.com/forums/thread/7600.aspx</link><pubDate>Mon, 11 Dec 2006 14:52:35 GMT</pubDate><guid isPermaLink="false">c4dd2918-4541-4a95-8338-be99430f076e:7600</guid><dc:creator>Enaganti</dc:creator><slash:comments>0</slash:comments><comments>http://www.biztalkgurus.com/forums/thread/7600.aspx</comments><wfw:commentRss>http://www.biztalkgurus.com/forums/commentrss.aspx?SectionID=10&amp;PostID=7600</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am getting dead locks when i am receiving flat file messages in to the orchestration.&lt;/p&gt;&lt;p&gt;i have one orchestration to receive flat file messages as xml document.&lt;/p&gt;&lt;p&gt;in side the orchestaion i am calling a helper class to parse this XLANGMessage and convert it to xml document.&lt;/p&gt;&lt;p&gt;then i am calling web service to update sql server.&lt;/p&gt;&lt;p&gt;during testing it is putting&amp;nbsp;most of the messages in suspended queue with following&amp;nbsp;dead lock error.&lt;/p&gt;&lt;p&gt;i tried just 10 messages.it is putting 9 messages in suspended queue.&lt;/p&gt;&lt;p&gt;i have one more orchestration receiving flat file and calling same webservice to update sql&amp;nbsp;database.&lt;/p&gt;&lt;p&gt;This one is using flat file disassembler to &amp;nbsp;convert flat file.&lt;/p&gt;&lt;p&gt;both are using same webservice to update sql server.&lt;/p&gt;&lt;p&gt;initially i created seperate solution for these two.Both were working fine when i deploy only one.&lt;/p&gt;&lt;p&gt;but if start both at the same time.Both are failing.&lt;/p&gt;&lt;p&gt;Please help me out.&lt;/p&gt;&lt;p&gt;Errors From event log:&lt;/p&gt;&lt;font size="1"&gt;&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;The following stored procedure call failed: &amp;quot; { call [dbo].[bts_UpdateMsgbox_BizTalkServerApplication]( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}&amp;quot;. SQL Server returned error string: &amp;quot;Transaction (Process ID 72) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&amp;quot;.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt;&lt;/p&gt;&lt;font size="1"&gt;&lt;p&gt;&lt;strong&gt;An unrecoverable exception (see the &amp;#39;inner exception&amp;#39; below) has occurred.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;strong&gt;Exception occurred when persisting state to the database.&lt;/strong&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Exception type: PersistenceException&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Source: Microsoft.XLANGs.BizTalk.Engine&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Target Site: Void Commit()&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;The following is a stack trace that identifies the location where the exception occured&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.ScheduleComplete(Boolean terminate)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.ScheduleComplete(Context ctx, Boolean finalPersisting, Boolean terminate)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx, Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean terminate)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at Microsoft.XLANGs.Core.TransactionalContext.OnCommit()&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at Microsoft.XLANGs.Core.LongRunningTransaction.OnCommit()&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at OrchProcessFlightTimes.segment1(StopConditions stopOn)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception&amp;amp; exp)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Additional error information:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;A batch item failed persistence Item-ID a9cacb88-14e0-4bab-934d-f5e43893e273 OperationType MAIO_CommitBatch Status -1061151942 ErrorInfo A database failure occurred due to a deadlock. .&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Exception type: PersistenceItemException&lt;/strong&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>