Welcome to MSDN Blogs Sign in | Join | Help

Distributed Transactions in Windows Workgroups

By default, distributed transactions will not work when at least one of the computers involved (client, middle-tier or database) is part of a Windows workgroup. This is due to the fact that Windows workgroups do not provide the necessary security infrastructure (provided by a directory service like Active Directory available on Windows domains) to allow mutual authentication and packet privacy for MSDTC. If you need distributed transactions, my recommendation is to move your computers to a Windows domain. If a Windows domain is not an option available to you, before using the workaround provided here, you should make sure that you put the systems in a well isolated environment (behind a firewall for instance). The workaround is to disable the security for MSDTC and can be done by adding a DWORD registry value called TurnOffRpcSecurity at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC and by setting this value to be 1. An MSDTC service restart is required for the change to take effect.

The same workaround can be used when the computers are in different Windows domains that don't trust each other.

Published Tuesday, March 02, 2004 2:30 PM by florinlazar
Filed under: ,

Comments

# re: Distributed Transactions in Workgroups (Windows Server 2003)

Friday, March 05, 2004 9:26 AM by Enrico Sabbadin
Hi Florin, why doesn't fall-back authentication (matching username-password doesn't work in this case ?

# XP SP2 and Transactions

Friday, June 18, 2004 6:00 AM by Florin Lazar's WebLog

# re: Distributed Transactions in Workgroups (Windows Server 2003)

Friday, June 18, 2004 4:13 AM by Robert McLaws
Thanks Florin. I wrote up a detailed walkthrough on how to set up DTC on Windows 2003 in a db/web server setup. In case anyone needs to know.

http://support.microsoft.com/?kbid=555017

# XP SP2 and Transactions

Friday, June 18, 2004 8:20 PM by Florin Lazar's WebLog

# XP SP2 and Transactions

Saturday, June 19, 2004 10:50 PM by Florin Lazar's WebLog

# re: Distributed Transactions in Workgroups (Windows Server 2003)

Monday, May 16, 2005 7:54 PM by Qflash

# XP SP2 and Transactions

Sunday, August 28, 2005 6:28 PM by Florin Lazar's WebLog
The preview (RC2) of Windows XP Service Pack 2 is available for download at http://www.microsoft.com/technet/prodtechnol/winxppro/sp2preview.mspx...
Anonymous comments are disabled
 
Page view tracker