"DTC transaction prepare phase failed" when UPDATE:ing in a promoted TransactionScope
Description
When saving an updated object in a TransactionScope that is promoted to a DTC transaction (by sending a message to a MSMQ), I get the following exception after exactly 20 seconds : http://gist.github.com/472508#file_stacktrace
I have tried to create a BugTestFixture to reproduce this behaviour, please see http://gist.github.com/472508. In my environment the two simple tests "RenamePersonUsingITransaction" and "RenamePersonUsingTransactionScope" works as expected, but "RenamePersonUsingPromotedTransactionScope" fails as per the stacktrace.
Sorry for not providing a diff for the test case, I'm working against someones Git repo. If you want, I can try to provide one.
Some ongoing work currently fixes DtcFailuresFixture.TransactionInsertLoadWithRollBackTask. Please provide additional test cases if you do not think this one correctly covers the reported bug.
Oskar Berggren
November 12, 2012 at 8:14 PM
I suspect the existing (failing/ignored) test DtcFailuresFixture.TransactionInsertLoadWithRollBackTask() also expose the same problem.
When saving an updated object in a TransactionScope that is promoted to a DTC transaction (by sending a message to a MSMQ), I get the following exception after exactly 20 seconds :
http://gist.github.com/472508#file_stacktrace
I have tried to create a BugTestFixture to reproduce this behaviour, please see http://gist.github.com/472508. In my environment the two simple tests "RenamePersonUsingITransaction" and "RenamePersonUsingTransactionScope" works as expected, but "RenamePersonUsingPromotedTransactionScope" fails as per the stacktrace.
Sorry for not providing a diff for the test case, I'm working against someones Git repo. If you want, I can try to provide one.
Thanks for great work on a great framework!
Best regards,
Ragnar Dahlén