問題描述
我們正在使用 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) 已禁用錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!