我有同样的问题赢得我的win10机器。检查以下步骤:
服务 => 分布式事务协调器正在运行
组件服务 => 本地 DTC => 属性 => 检查是否允许入站和出站。我有以下设置:

组件服务 => 我的电脑 => 属性 => 默认协议 => TCP/IP 端口范围 5000-5100 已配置。

Windows 防火墙 => 允许应用程序或功能通过 Windows 防火墙 => 分布式事务协调器

如果未设置三个复选框,您可以使用以下命令执行此操作
netsh advfirewall firewall set rule name="Distributed Transaction Coordinator (TCP-In)" new enable=yes profile="domain,private,public"
netsh advfirewall firewall set rule name="Distributed Transaction Coordinator (TCP-Out)" new enable=yes profile="domain,private,public"
netsh advfirewall firewall set rule name="Distributed Transaction Coordinator (RPC)" new enable=yes profile="domain,private,public"
netsh advfirewall firewall set rule name="Distributed Transaction Coordinator (RPC-EPMAP)" new enable=yes profile="domain,private,public"
netsh advfirewall firewall set rule name="Distributed Transaction Coordinator (TCP-In)" new enable=yes profile="domain,private,public"
netsh advfirewall firewall set rule name="Distributed Transaction Coordinator (TCP-Out)" new enable=yes profile="domain,private,public"
netsh advfirewall firewall set rule name="Distributed Transaction Coordinator (RPC)" new enable=yes profile="domain,private,public"
netsh advfirewall firewall set rule name="Distributed Transaction Coordinator (RPC-EPMAP)" new enable=yes profile="domain,private,public"