confusion about transactions and msdtc

Posted by muhan on Stack Overflow See other posts from Stack Overflow or by muhan
Published on 2009-10-14T05:46:35Z Indexed on 2010/05/14 17:54 UTC
Read the original article Hit count: 437

Filed under:
|
|
|

I have some basic confusion about how transactions and msdtc work together.

I have a basic server/client winforms app. The app uses transactionscope to encapsulate several sql commands that are executed on the sql server.

The app seemed to work fine when I enabled msdtc network access on the server only. Then one day it stopped working saying network access was not enabled.

Now it seems that I have to enable msdtc network access on both the client computer and server for transactionscope to work.

Does the client or server msdtc service do the transaction work? Or maybe its both?

Does anyone have guidance on whether msdtc network access is needed on both client and server or just server?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about transactions