We have some unit tests running against a SQL server 2000 database using the DatabaseTestFixture (http://softwaredevscott.spaces.live.com/blog/cns!1A9E939F7373F3B7!155.entry ) class which uses a TransactionScope that is not commited and therefore all changes are rolled back. The tests ran against a local database with no problem.
We then pointed the unit tests at a common database server and setup MSDTC on the machine running the unit tests and all is well with that machine.
Now though we have setup a new machine which will be running the unit test also against the same common database. The unit test do not run on this machine, we get the following error:
System.Transactions.TransactionException : The transaction has already been implicitly or explicitly committed or aborted.
The MSDTC settings are exactly the same as the one that is working, we have compared screen by screen.
Has anyone experienced something like this before? Or got any pointers on where we might look for clues as to what might be causing it?
We have checked Windows versions and service packs, firewall options, msdtc options, VS versions and service packs.