<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : TransactionInDoubtException</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : TransactionInDoubtException</description>
  <pubDate>Thu, 14 May 2026 06:57:05 -700</pubDate>
  <lastBuildDate>Fri, 19 Oct 2012 10:47:36 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3730</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>TransactionInDoubtException : Mikael,This exception comes from...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3730&amp;PID=14916#14916</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3730<br /><strong>Posted:</strong> 19-Oct-2012 at 10:47am<br /><br />Mikael,<div>This exception comes from your Oracle database. There's something not quite right with your database. See the following link that explains when a transaction can come in doubt.</div><div><br></div><div><a href="http://docs.oracle.com/cd/B28359_01/server.111/b28310/ds_txns004.htm" target="_blank">http://docs.oracle.com/cd/B28359_01/server.111/b28310/ds_txns004.htm</a></div>]]>
   </description>
   <pubDate>Fri, 19 Oct 2012 10:47:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3730&amp;PID=14916#14916</guid>
  </item> 
  <item>
   <title>TransactionInDoubtException :   Platform: Win7, SL5, NET4.5,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3730&amp;PID=14914#14914</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1256" rel="nofollow">mikke63</a><br /><strong>Subject:</strong> 3730<br /><strong>Posted:</strong> 19-Oct-2012 at 4:22am<br /><br />Platform: Win7, SL5, NET4.5, DF2012, Oracle<div>&nbsp;</div>Simple case; one table, single column primary key. Execute entity query to select one record by PK. Then&nbsp;mark entity for deletion and call SaveChangesAsync. Failes with TransactionInDoubtException. Full exception dump below.<div></div><div SS_SSO_Identity="">What I see from the&nbsp;exception dump&nbsp;is that System.Transactions.CommittableTransaction.Commit() has been called. The record is however&nbsp;not deleted in the database, bringing me to believe that the&nbsp;exception results from&nbsp;DF (EF) detecting that no record was removed and hence&nbsp;becomming in doubt.</div><div SS_SSO_Identity="">&nbsp;</div><div SS_SSO_Identity="">With other entities in the same database I can delete records without problem.</div><div SS_SSO_Identity="">&nbsp;</div><div SS_SSO_Identity="">Can this&nbsp;be the result of a failing concurrency&nbsp;detection? The entity record in question is not modified by others, so there is no actual concurrency problem.</div><div SS_SSO_Identity="">&nbsp;</div><div SS_SSO_Identity="">Any ideas that can point me in the right direction?</div><div SS_SSO_Identity="">&nbsp;</div><div SS_SSO_Identity="">Thanks, Mikael</div><div SS_SSO_Identity="">&nbsp;</div><div SS_SSO_Identity="">&nbsp;</div><div SS_SSO_Identity=""><font face="Courier New, Courier, mono" SS_SSO_Identity="">IdeaBlade.EntityModel.EntityManagerSaveException was unhandled by user code<br>&nbsp; Message=The transaction is in doubt.<br>&nbsp; Cancelled=false<br>&nbsp; RemoteExceptionDetails=System.Transactions.TransactionInDoubtException: The transaction is in doubt.<br>&nbsp;&nbsp; at System.Transactions.TransactionStatePromotedIndoubt.PromotedTransactionOutcome(InternalTransaction tx)<br>&nbsp;&nbsp; at System.Transactions.TransactionStatePromotedEnded.EndCommit(InternalTransaction tx)<br>&nbsp;&nbsp; at System.Transactions.CommittableTransaction.Commit()<br>&nbsp;&nbsp; at System.Transactions.TransactionScope.InternalDispose()<br>&nbsp;&nbsp; at System.Transactions.TransactionScope.Dispose()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Server.EntitySaveTransactionManager.SaveWithTransaction(IEntityServer entityServer, SaveWorkState workState)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Server.EntitySaveTransactionManager.Save(IEntityServer entityServer, SaveWorkState workState)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor.ExecuteSave()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor.OnExecuteSave()<br>&nbsp; RemoteExceptionName=System.Transactions.TransactionInDoubtException, System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089<br>&nbsp; RemoteSource=System.Transactions<br>&nbsp; RemoteStackTrace=&nbsp;&nbsp; at System.Transactions.TransactionStatePromotedIndoubt.PromotedTransactionOutcome(InternalTransaction tx)<br>&nbsp;&nbsp; at System.Transactions.TransactionStatePromotedEnded.EndCommit(InternalTransaction tx)<br>&nbsp;&nbsp; at System.Transactions.CommittableTransaction.Commit()<br>&nbsp;&nbsp; at System.Transactions.TransactionScope.InternalDispose()<br>&nbsp;&nbsp; at System.Transactions.TransactionScope.Dispose()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Server.EntitySaveTransactionManager.SaveWithTransaction(IEntityServer entityServer, SaveWorkState workState)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Server.EntitySaveTransactionManager.Save(IEntityServer entityServer, SaveWorkState workState)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor.ExecuteSave()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor.OnExecuteSave()<br>&nbsp; StackTrace:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.CompilerServices.TaskAwaiter.GetResult()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at Parka.Controls.Customer.vmSelectedCustomer.&lt;&lt;get_CommandDeleteData&gt;b__13&gt;d__15.MoveNext()<br>&nbsp; InnerException: <br></font></div>]]>
   </description>
   <pubDate>Fri, 19 Oct 2012 04:22:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3730&amp;PID=14914#14914</guid>
  </item> 
 </channel>
</rss>