I got the same issue before and the only solution which worked for me is to use TransactionScopeOption.Suppress:
using (TransactionScope transactionScope = new TransactionScope( TransactionScopeOption.Suppress)) { // Do the second (consumer's) transaction here transactionScope.Complete(); // not really needed with the Suppress option } Your situation may be different, but I hope this helps :-) On Sat, Oct 16, 2010 at 3:54 AM, JakeS <jakesteven...@gmail.com> wrote: > Setting consumeInTransaction doesn't seem to be making any difference > to me. The consumer IS running on a different machine than the > producer (and loadbalancer). Maybe I have to bite the bullet and > figure out why MSDTC isn't working for me. > > I have followed the guide on allowing MSTDC network connections, but > it doesn't work for me. When I do that, the consumer hangs for 1-2 > minutes, then times out the transaction. While this happens, the > producer (a web site) stops responding too! > > Thanks for the tips. > > On Oct 15, 7:56 am, andrewscj <ascjo...@gmail.com> wrote: > > You can set the consumeInTransaction="false" in the RSB config: > > > > <bus threadCount="1" > > numberOfRetries="1" > > consumeInTransaction="false" > > endpoint="msmq://localhost/endpoint" /> > > > > On Oct 14, 8:26 pm, JakeS <jakesteven...@gmail.com> wrote: > > > > > > > > > I've got a very simple consumer. When it receives a message it > > > accesses a couple of linq2sql datacontexts. When it tries to use the > > > second datacontext I get the following: > > > > > Network access for Distributed Transaction Manager (MSDTC) has been > > > disabled. Please enable DTC for network access in the security > > > configuration for MSDTC using the Component Services Administrative > > > tool. > > > > > I'm trying to figure out why MSDTC is even necessary here. I've > > > marked both the endpoint and message with transactional="false". If I > > > run the code outside of rhino.esb, I have no such error. > > > > > I've tried to enable MSDTC, but so far all that's managed to do for > > > me is cause a timeout. I'd really rather avoid it unless I really > > > have to. > > > > > Can anyone point me in the right direction for this? > > -- > You received this message because you are subscribed to the Google Groups > "Rhino Tools Dev" group. > To post to this group, send email to rhino-tools-...@googlegroups.com. > To unsubscribe from this group, send email to > rhino-tools-dev+unsubscr...@googlegroups.com<rhino-tools-dev%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rhino-tools-dev?hl=en. > > -- Ta la tat ca, tat ca ko la cai gi ca, he he he -- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to rhino-tools-...@googlegroups.com. To unsubscribe from this group, send email to rhino-tools-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.