A
Andrew Robinson
I am receiving an exception while trying to use a TransactionScope. My code
is as follows:
using (TransactionScope scope = new TransactionScope()) {
equipment.Save();
status.Save();
scope.Complete();
}
This code is pretty basic and calls some dynamic sql updates using two
different connections to the same sql server. The sql server is located on a
different machine than my local dev box. My local dev box is running Vista
RTM and the SQL server is running on W2003. I can't see any issues with
configuration on the SQL server box and am guessing that the issue is on my
local Vista box.
the exception is:
TransactionmanagerCommunicationException: Network access for Distributed
Transaction Manager (MSDTC) has been disabled. Please enable DTC for network
access in the security configuration for MSDTC using the Component Services
Administrative tool.
Don't know if it matters or not but the sql server is part of a domain. My
local box is not a member of the domain and I am using SQL authentication
(successfully with the exception of the transaction issue).
Any help would be appriciated.
Thanks,
is as follows:
using (TransactionScope scope = new TransactionScope()) {
equipment.Save();
status.Save();
scope.Complete();
}
This code is pretty basic and calls some dynamic sql updates using two
different connections to the same sql server. The sql server is located on a
different machine than my local dev box. My local dev box is running Vista
RTM and the SQL server is running on W2003. I can't see any issues with
configuration on the SQL server box and am guessing that the issue is on my
local Vista box.
the exception is:
TransactionmanagerCommunicationException: Network access for Distributed
Transaction Manager (MSDTC) has been disabled. Please enable DTC for network
access in the security configuration for MSDTC using the Component Services
Administrative tool.
Don't know if it matters or not but the sql server is part of a domain. My
local box is not a member of the domain and I am using SQL authentication
(successfully with the exception of the transaction issue).
Any help would be appriciated.
Thanks,