Raise the SNR

August 12, 2009

Making MSDTC Work with Windows XP SP2

Filed under: Administration — admin @ 10:21 pm

Here’s the rundown on my most recent admin nightmare. I was helping to get Microsoft Distributed Transaction Coordinator working between 2 Windows XP SP2 boxes. These are development machines on which we wanted to prototype distributed transactions. In our case, we wanted to update 2 different SQL Server databases on 2 separate machines, and allow the updates to be committed on both systems in the case of success, or rolled back if an error occurred on either system. This is known as Two Phase Commit.

SECURITY WARNING!
The following changes could expose your system to security risks. This was implemented on development systems to test prototype code. If you need to make this work on a production system, please consult a qualified Microsoft Server Professional to implement MSDTC in your environment.

To make DTC work, a few changes have to be made to XP SP2. Here’s the list:

Open the following firewall ports

  • TCP Port 1433 (Default port used by SQL Server)
  • UDP Port 1434 (Used by SQL Server)
  • TCP Port 3372 (Used by MSDTC.EXE)
  • Add MSDTC.EXE to the firewall as an allowed program

Add the following entries to the registry if they don’t already exist in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\ClientProtocols – Found in MS Knowledge Base Article 325930

  • ncacn_http REG_SZ rpcrt4.dll
  • ncacn_ip_tcp REG_SZ rpcrt4.dll
  • ncacn_np REG_SZ rpcrt4.dll
  • ncadg_ip_udp REG_SZ rpcrt4.dll

Run dcomcnfg.exe to modify the security for MSDTC

  • Navigate to “Component Services\Computers\My Computer” in the tree view in the left-hand pane.
  • Right-click on My Computer and select properties
  • On the MSDTC tab, click on the “Security Configuration…” button
  • Change the security settings to match the following:
MSDTC Security Config Dialog

MSDTC Security Config Dialog

SECURITY WARNING!
The preceding changes could expose your system to security risks. This was implemented on development systems to test prototype code. If you need to make this work on a production system, please consult a qualified Microsoft Server Professional to implement MSDTC in your environment.

5 Comments »

  1. ненуно!…

    оператор ПК Here’s the rundown on my most recent admin nightmare…..

    Trackback by Kylie Batt — April 11, 2010 @ 3:53 pm

  2. норм фильм?…

    Сам. № 06 2008р. These are development machines on which we wanted to prototype distributed transactions…..

    Trackback by Kylie Batt — April 20, 2010 @ 10:17 pm

  3. Весьма полезный топик…

    Водитель персональный/семейный These are development machines on which we wanted to prototype distributed transactions…..

    Trackback by Kylie Batt — May 3, 2010 @ 9:29 pm


  4. MedicamentSpot.com. Canadian Health&Care.Best quality drugs.No prescription online pharmacy.Special Internet Prices. Low price pills. Order drugs online

    Buy:Prednisolone.Valtrex.Accutane.100% Pure Okinawan Coral Calcium.Mega Hoodia.Zovirax.Nexium.Actos.Lumigan.Petcam (Metacam) Oral Suspension.Retin-A.Synthroid.Zyban.Arimidex.Human Growth Hormone.Prevacid….

    Trackback by DWIGHT — July 21, 2010 @ 5:18 pm

  5. nuvi http://sgarminswrftvz.05KIAPARTS.US/tag/review+garmin+nuvi/ : nuvi…

    review…

    Trackback by nuvi — August 29, 2010 @ 9:44 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress