As mentioned in this article,
|1.||Start the Component Services administrative tool. To do this, click Start, click Run, type dcomcnfg.exe, and then click OK.|
|2.||In the console tree of the Component Services administrative tool, expand Component Services, expand Computers, right-click My Computer, and then click Properties.|
|3.||Click the MSDTC tab, and then click Security Configuration.|
In my case, I have to turn on both InBound and outBound to enable tranactionalType.TransactionScope working in my Csla BO.
Another problem for this DTC is, my CSLA BO got an ‘Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.’ afterwards, here is the solution, turn off the RPCSecurity,
Start Registry Editor (Regedt32.exe). Locate the following key in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC On the Edit menu, click Add Value, and then add the following registry value: Value Name : TurnOffRpcSecurity Data Type : REG_DWORD Value : 1
Then the error I got became to
System.Data.SqlClient.SqlException: The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.