How to use TransactionScope in C#?

前端 未结 7 1098
猫巷女王i
猫巷女王i 2020-11-29 23:55

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

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-30 00:40

    You need to enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool.

提交回复
热议问题