Wednesday, 16 April 2008

How To Enable TransactionScope commands for unit tests

Something plundered from elsewhere on the internet, no doubt. Also insecure, no doubt.

Go to Administrative Tools->Component Services
In the Component Services window, go to Component Services, and right click on "my computer". Select "properties".
Click the MSDTC tab, then click the 'Security configuration...' button.
Set the settings to look like this:
nb: this fixes the "The transaction manager has disabled its support for remote/network transactions." error