twitter
    Find out what I'm doing, Follow Me :)

Error Occurred while Enlisting in a Distributed Transaction

This afternoon while we are doing pre production deployment for our COM+ QueuedComponent on Windows 2003 Server we encountered an error. Looking at log file we found the error message : "An error occurred while enlisting in a distributed transaction."

Damn, we had this problems before when we deployed this component the first time. But I only vaguely remember it. I wish I've blogged it before so I can refer to it again easily.

Anyway, to fix this problem:
  • Go to Component Services
  • Select My Computer Properties,
  • Click on DTC tab,
  • Select Security Configurations (bottom left).
    1. Under Client and Administration ensure that “Allow Remote Clients” is checked.
    2. Under Transaction Manager Communication, ensure “No Authentication Required” is checked.

Or you can change the registry through registry settings:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\AllowOnlySecureRpcCalls = 0
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\TurnOffRpcSecurity = 1

Another important things is to set your COM+ component settings authentication to none. It is under the "Queuing" tab.

0 comments: