I am getting this error:
Network access for Distributed Transaction Manage开发者_开发技巧r (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool.
Is there a way to run TransactionScope on localhost? I can run the thing on a server but in my local environment I get this error. Is there some settings we need to make so that we can use a TransactionScope?
you need to start the service in Windows.
Start > Run. services.msc

UPDATE:
Check your Component Services too;
Control Panel > Administrative Tools > Component Services

加载中,请稍侯......
精彩评论