问题描述
我们正在使用 ASP.NET 的事务范围功能来管理分布式事务,为此我们需要通过以下链接启用分布式事务:
合作伙伴事务管理器已禁用它对远程/网络事务的支持
We are using transaction scope features of ASP.NET to manage distributed transaction for that we need to enable distributed transaction via following link:
The partner transaction manager has disabled its support for remote/network transactions
它在 SQL Server 2005 和 Windows Server 2003 上运行良好,但是当涉及到 Windows Server 2008 服务器和 SQL Server 2005 时,我们收到以下错误,我们仍然按照上面链接中提供的相同步骤进行操作:
Its works well with SQL Server 2005 and Windows Server 2003 but when it comes to Windows Server 2008 server and SQL Server 2005 we are getting following error, still we followed the same steps provided in above link:
Windows Server 2008 + SQL Server 2005+ 分布式事务管理器 (MSDTC) 的网络访问已经禁用.请启用 DTC安全中的网络访问使用 MSDTC 配置组件服务管理工具.
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.
推荐答案
在我的博客上,我讨论了一个修复:修复 MSDTC(微软分布式事务协调器)
On my blog I discuss a fix: Fix MSDTC (Microsoft Distributed transaction coordinator)
这篇文章将帮助您设置和检查服务器之间 MSDTC 的通信.请检查:
This post will help you how set setup and check communication of MSDTC between servers. Please check:
- 网络
- 防火墙
- ACL 权限
您可以使用以下工具配置服务器并测试 MSDTC.DTCTester:http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q293799
You can config your severs and test the MSDTC by using following tool. DTCTester: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q293799
这篇关于如何修复分布式事务管理器 (MSDTC) 已禁用错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!