简体   繁体   English

消息7391无法执行此操作,因为链接服务器的OLE DB提供程序无法开始分布式事务

[英]Msg 7391 The operation could not be performed because OLE DB provider for linked server was unable to begin a distributed transaction

There is 3 Sql Server. 有3个Sql Server。 Example Server A, Server B and Server C. 示例服务器A,服务器B和服务器C。

-DTC is running in all the machine. -DTC在所有机器上运行。

-Local DTC Properties in all three machine: -所有三台机器中的本地DTC属性:

      -Network DTC Access

      -Allow Inbound

      -Allow Outboud

      -No Authentication Required  

      -Enable XA Transaction

      -Enable SNA LU 6.2 Transaction

      -Account: NT AUTHORITY\NetworkService

RPC and RPC OUT is true for link server RPC和RPC OUT对于链接服务器为true

Server A: Windows 8, Server B: Windows 7 and Server C: Windows 7 服务器A:Windows 8,服务器B:Windows 7和服务器C:Windows 7

Firewall is off in all three servers 三台服务器中的防火墙均关闭

Servers are not in Domain. 服务器不在域中。

Added "set xact_abort on" in the query. 在查询中添加了“ set xact_abort on”。

Now, From server A Distributed transaction work fine in both machine. 现在,来自服务器A的分布式事务在两台计算机上都可以正常工作。

    From server B Distributed transaction work in Server A only.

    From server c Distributed transaction work in Server A only.

Problem: Distributed Transaction does not work between server B and C. 问题:服务器B和C之间的分布式事务不起作用。

May be you have problem with configuration of your firewalls on A\\B\\C servers. 可能是您在A \\ B \\ C服务器上配置防火墙有问题。 You can try to temporally disable firewalls to check this. 您可以尝试暂时禁用防火墙以进行检查。 See following link for more details about "Enable Network DTC Access". 有关“启用网络DTC访问”的更多详细信息,请参见以下链接

This issue was due to same unique identity in MSDTC of server B and server C. This means that the two MS DTC will not be able to communicate with each other. 此问题是由于服务器B和服务器C的MSDTC中具有相同的唯一标识所致。这意味着两个MS DTC将无法相互通信。 This problem typically occurs if one of the systems were cloned using unsupported cloning tools. 如果使用不受支持的克隆工具克隆了其中一个系统,则通常会发生此问题。 MS DTC requires that the systems be cloned using supported cloning tools such as SYSPREP. MS DTC要求使用受支持的克隆工具(例如SYSPREP)来克隆系统。 Running 'msdtc -uninstall' and then 'msdtc -install' from the command prompt will fix the problem. 从命令提示符运行“ msdtc -uninstall”然后运行“ msdtc -install”将解决此问题。 Note: Running 'msdtc -uninstall' will result in the system losing all MS DTC configuration information. 注意:运行'msdtc -uninstall'将导致系统丢失所有MS DTC配置信息。 Note: In Windows 2008 use Administrator command prompt, service must be stopped and you must reboot the server. 注意:在Windows 2008中,使用Administrator命令提示符,必须停止服务,并且必须重新引导服务器。

http://www.sqlwebpedia.com/content/msdtc-troubleshooting http://www.sqlwebpedia.com/content/msdtc-troubleshooting

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 由于链接服务器“ DB_PROD_04”的OLE DB提供程序“ SQLNCLI10”无法开始分布式事务,因此无法执行该操作 - The operation could not be performed because OLE DB provider “SQLNCLI10” for linked server “DB_PROD_04” was unable to begin a distributed transaction 链接服务器的OLe数据库提供程序“SQLNCLI”无法启动分布式事务 - OLe DB provider “SQLNCLI” for linked server was unable to begin a distributed transaction 错误:链接服务器“bquick”的 OLE DB 提供程序“MSDASQL”无法开始分布式事务 - Error: OLE DB provider "MSDASQL'' for Linked Server ''bequick'' was unable to begin a Distributed transaction 链接服务器无法开始分布式事务 - SQL Server - Linked Server unable to begin a distributed transaction - SQL Server 链接服务器“(null)”的 OLE DB 提供程序“MSDASQL”无法更新表“[MSDASQL]”。 Pervasive 的未知提供程序错误 - The OLE DB provider "MSDASQL" for linked server "(null)" could not UPDATE table "[MSDASQL]". Unknown provider error with Pervasive 链接服务器的OLE DB提供程序报告了架构版本错误 - OLE DB provider for linked server reported a change in schema version Error 链接服务器“(null)”的OLE DB提供程序“ MSDASQL”报告错误 - The OLE DB provider “MSDASQL” for linked server “(null)” reported an error 链接服务器无法初始化 OLE DB 提供程序的数据源对象 - Linked server Cannot initialize the data source object of OLE DB provider 链接服务器“(null)”的 OLE DB 提供程序“Microsoft.ACE.OLEDB.12.0”返回消息“JOIN 操作中的语法错误”。 - OLE DB provider “Microsoft.ACE.OLEDB.12.0” for linked server “(null)” returned message “Syntax error in JOIN operation.” 链接服务器的OLE DB提供程序为列提供了不一致的元数据 - The OLE DB provider for linked server supplied inconsistent metadata for a column
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM