I am trying to use TransactionScope
, but keep getting the exception below.
The app is running on a different machine than the database, if that matters. I
You need to enable network DTC access for both the database server and the server where the application runs on.
You will also need to verify that connections will not be blocked by a firewall. Since a connection will be initiated from the database server to the application machine, it is equally important to add MSDTC to the list of firewall exceptions on the application machine.