Dot Net Tips and Tricks

Custom Search

Archive for the 'DTC' Category

DTC and Windows Workflow Foundation Troubleshooting

Having recently spent several hours trying to configure DTC to communicate between my Windows XP workstation and a Windows 2003 Server, I recommend the following article for success. There are some security changes that occur in SP2 for Windows XP that require configuration before the two boxes will sucessfully talk.

My earlier article on the use of DTCPing for testing in the trackback will get you up to speed with this utility.
Set the appropriate values for the EnableAuthEpResolution and RestrictRemoteClients options on Windows XP SP2Set the appropriate values for the EnableAuthEpResolution and RestrictRemoteClients options on Windows XP SP2

Windows XP SP2 enhances security by requiring authenticated calls to the RPC interface. This functionality is configurable through the EnableAuthEpResolution and RestrictRemoteClients registry keys. To ensure that remote computers are able to access the RPC interface on a Windows XP SP2 computer, follow these steps:

Warning
Incorrect use of Registry Editor may cause problems requiring you to reinstall your operating system. Use Registry Editor at your own risk. For more information about how to back up, restore, and modify the registry, see the Microsoft Knowledge Base article “Description of the Microsoft Windows registry” at Description of the Microsoft Windows registry.

  1. Click Start, click Run, type regedit.exe, and then click OK to start Registry Editor.
    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT
  2. Under the RPC key, create the following DWORD entries with the indicated values. If the RPC key does not exist then it must be created.

    DWORD entry Default value Recommended value
    EnableAuthEpResolution 0 (disabled) 1
    RestrictRemoteClients 1 (enabled) 0

  3. Close Registry Editor.

For more information about the RPC Interface Restriction functionality in Windows XP SP2, see the RPC Interface Restriction section of Changes to Functionality in Microsoft Windows XP Service Pack 2.

Link to the article: DTC Troubleshooting

No comments