Remote DTC access and the Windows XP firewall
I recently had to get my test classes to be able to create distributed
component services transactions from my Windows XP development
machine. Doing this required a bit of configuration both on my machine
and on the Windows 2003 server I was transacting.
In the XP firewall:
Enabled network DTC access on the Windows 2003 server (from
http://support.microsoft.com/default.aspx?scid=kb;en-us;817064) :
Further, in the Component Services snap-in on the Windows 2003 server:
component services transactions from my Windows XP development
machine. Doing this required a bit of configuration both on my machine
and on the Windows 2003 server I was transacting.
In the XP firewall:
- Add TCP port 135 to the Windows Firewall exceptions list.
- Add Msdtc.exe to the Windows Firewall exceptions list on all computers involved in Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Enabled network DTC access on the Windows 2003 server (from
http://support.microsoft.com
- Click Start, point to Control Panel, and then click Add or Remove Programs.
- Click Add/Remove Windows Components.
- Select Application Server, and then click Details.
- Select Enable network DTC access, and then click OK.
- Click Next.
- Click Finish.
- Stop and then restart the Distributed Transaction Coordinator service.
- Stop and then restart Microsoft SQL Server and the other resource manager services that participate in the distributed transaction, such as Microsoft Message Queuing.
Further, in the Component Services snap-in on the Windows 2003 server:
- Right-click the appropriate computer node and select properties.
- On the MSDTC tab, click Security Configuration button.
- In addition to the Network DTC Access being checked, check Network Transactions.
- Restart MSDTC (and SQL Server, if SQL Server is being transacted).

0 Comments:
Post a Comment
<< Home