Enlisting transactions within WCF (Indigo) transactions

Posts   
 
    
Posts: 9
Joined: 19-May-2006
# Posted on: 23-Aug-2006 15:37:19   

HI, i´m having trouble when enlisting llbl2 transactions within wcf transactions. I always get a timeout, and i can´t figure out how to solve it. I have a client, that starts a transaction scope (WCF) and then calls an operations in service. The service does:

Guid transactionId = transactionManager.StartTransaction(); try { documentManager.SaveDocument(document, transactionId); transactionManager.CommitTransaction(transactionId); } catch{ transactionManager.RollbackTransaction(transactionId); throw; } finally { transactionManager.Dispose(transactionId); }

Any idea? Are both kind of transactions compatible?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 24-Aug-2006 09:34:39   

WCF is still beta so we don't officially support WCF. System.Transactions transactions might be blocked by an inproperly configured MS DTC service. But that's all I can offer at this moment, as we're not yet familiar with WCF and other .NET 3.0 technologies.

Frans Bouma | Lead developer LLBLGen Pro