System.Exception._COMPlusExceptionCode when running within transactionScope

Fustrousiarax

New Member
I'm trying to call a DB sp I wrotefrom within c# transactionScope\[code\]public static void RunInTransaction(Action logic){ var options = new TransactionOptions { IsolationLevel = IsolationLevel.ReadCommitted }; using (var transaction = new TransactionScope(TransactionScopeOption.RequiresNew, options)) { logic(); transaction.Complete(); }}\[/code\]where \[code\]logic\[/code\] is actually calling the \[code\]sp\[/code\] from \[code\]c#\[/code\].And I get the following error:\[quote\] System.Exception._COMPlusExceptionCode\[/quote\]
 
Top