简体   繁体   English

错误:链接服务器“bquick”的 OLE DB 提供程序“MSDASQL”无法开始分布式事务

[英]Error: OLE DB provider "MSDASQL'' for Linked Server ''bequick'' was unable to begin a Distributed transaction

I have gone through the answers for similar questions: The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "DB_PROD_04" was unable to begin a distributed transaction我已经看过类似问题的答案: 无法执行操作,因为链接服务器“DB_PROD_04”的 OLE DB 提供程序“SQLNCLI10”无法开始分布式事务

Distributed Transaction on Linked Server between sql server and mysql sql server和mysql之间的链接服务器上的分布式事务

But, they just don't seem to be working for me and hence I am requesting for a solution with a fresh post.但是,他们似乎对我不起作用,因此我要求通过新帖子提供解决方案。

Background: I have MySQL Server that is completely managed by a vendor and I only have READ access to it.背景:我有一个完全由供应商管理的 MySQL 服务器,我只有对它的 READ 访问权限。 On the other hand, I have SQL Server 2014 instance (Caller) running on Windows Server 2012 R2 in our domain.另一方面,我在我们域中的 Windows Server 2012 R2 上运行 SQL Server 2014 实例(调用方)。 Previous DBA had set up Linked Server named 'BEQUICK' to call a Stored Procedure: Exec usp_ExtractBqDataAndPreprocess 13以前的 DBA 已设置名为“BEQUICK”的链接服务器来调用存储过程: Exec usp_ExtractBqDataAndPreprocess 13

This Stored Procedure fetches aggregated data from MySQL instance and saves it to our Disk.这个存储过程从 MySQL 实例中获取聚合数据并将其保存到我们的磁盘。 Within this Stored Procedure runs 3 Stored procedures.在此存储过程中运行 3 个存储过程。 Exec BEQUICK_CUBE_Customers_post_pull Exec BEQUICK_CUBE_Customers_Update Exec BEQUICK_CUBE_Inventory_Update Exec BEQUICK_CUBE_Customers_post_pull Exec BEQUICK_CUBE_Customers_Update Exec BEQUICK_CUBE_Inventory_Update

Issue: Today when I tried to run it, it fetched me an error stating that the Operation could not be performed because OLE DB provider "MSDASQL" for Linked Server "bequick" was unable to begin a distributed transaction.问题:今天,当我尝试运行它时,它给我一个错误,指出无法执行操作,因为链接服务器“bquick”的 OLE DB 提供程序“MSDASQL”无法开始分布式事务。

Actions Taken: Step1: Accessed Linked Server Properties > Server Options, altered it to:采取的措施:步骤 1:访问链接服务器属性 > 服务器选项,将其更改为: 在此处输入图片说明

Step2: Accessed Local DTC Properties, and kept trying all combinations to somehow make it work.步骤 2:访问本地 DTC 属性,并不断尝试所有组合以使其工作。 Finally, leaving it as:最后,将其保留为:

在此处输入图片说明

Step3: I got into Windows Firewall and ensured:步骤 3:我进入了 Windows 防火墙并确保: 在此处输入图片说明

None of this could resolve my issue and now I don't know what is next so any help will be highly appreciated.这些都不能解决我的问题,现在我不知道接下来会发生什么,所以任何帮助都将受到高度赞赏。 Please do let me know if I haven't furnished any intrinsic information that I should have.如果我没有提供任何我应该拥有的内在信息,请告诉我。

Although I didn't receive a resolution here, I finally figured out that it was my Driver properties where things were going wrong.虽然我在这里没有收到解决方案,但我终于发现是我的 Driver 属性出了问题。 Posting this answer so that if someone else falls into same kinda trouble, even they can check this alternative.发布此答案,以便如果其他人遇到同样的麻烦,即使他们也可以检查此替代方案。 Thanks!谢谢!

暂无
暂无

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

相关问题 消息 7391:链接服务器无法开始分布式事务(两个 svs 都在本地运行) - Msg 7391: linked server unable to begin a distributed transaction (both svrs running locally) SQL Server 2005 32位-错误:链接服务器“(null)”的OLE DB提供程序“ OLEDB.1”报告错误。 提供者内存不足 - SQL Server 2005 32 bit -Error: The OLE DB provider “OLEDB.1” for linked server “(null)” reported an error. The provider ran out of memory Microsoft OLE DB提供程序的ODBC驱动程序错误 - Microsoft OLE DB Provider for ODBC Drivers error 在SSIS中看不到“用于ODBC的Microsoft OLE DB提供程序”驱动程序 - Unable to see “Microsoft OLE DB Provider for ODBC” driver in SSIS sql server和mysql之间链接服务器上的分布式事务 - Distributed Transaction on Linked Server between sql server and mysql Azure网站-ODBC驱动程序的Microsoft OLE DB提供程序错误'80004005' - Azure Website - Microsoft OLE DB Provider for ODBC Drivers error '80004005' 使用mysqli_begin_transaction()时的服务器版本错误 - Server version error when using mysqli_begin_transaction() Ole DB查询错误缺少运算符 - Ole db Query error missing operator 具有一台 DB 服务器的 LAN 中的分布式应用程序 - Distributed application in a LAN with one DB server Enterprise Architect-用于ODBC驱动程序的Microsoft OLE DB提供程序-2147217900 /'80040E14' - Enterprise Architect - Microsoft OLE DB Provider for ODBC Drivers -2147217900 / '80040E14'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM