我们正在使用 ASP.NET 的事务范围功能来管理分布式事务,因此我们需要通过以下链接启用分布式事务:
The partner transaction manager has disabled its support for remote/network transactions
它在 SQL Server 2005 和 Windows Server 2003 上运行良好,但是当涉及到 Windows Server 2008 服务器和 SQL Server 2005 时,我们收到以下错误,但我们仍然遵循上面链接中提供的相同步骤:
Windows Server 2008 + SQL Server 2005 + 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.
最佳答案
在我的博客上,我讨论了一个修复:Fix MSDTC (Microsoft Distributed transaction coordinator)
这篇文章将帮助您如何设置和检查服务器之间 MSDTC 的通信。 请检查:
- 网络
- 防火墙
- ACL 权限
您可以使用以下工具配置您的服务器并测试 MSDTC。 DTCTester:http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q293799
关于sql-server - 如何修复分布式事务管理器 (MSDTC) 已禁用错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2050512/