为什么SSIS运行时无法启动分布式事务?
在为 SQL Server 2008 创建 SSIS 包时,我遇到以下错误:
错误:SSIS 运行时未能 启动分布式事务到期 错误 0x8004D01B“交易 经理没空。”。DTC 交易未能开始。这 可能会发生,因为 MSDTC 服务 没有运行。
我在我的计算机上本地创建并运行该包,但数据库位于运行 Windows Server 2008 的服务器上,该服务器不在域中。
我已确保 DTC 服务在本地和服务器上启动,并且添加了 Windows Vista 防火墙中预定义的防火墙例外。
为什么SSIS运行时无法启动分布式事务?
While creating an SSIS package for SQL Server 2008 i run into the following error:
Error: The SSIS Runtime has failed to
start the distributed transaction due
to error 0x8004D01B "The Transaction
Manager is not available.". The DTC
transaction failed to start. This
could occur because the MSDTC Service
is not running.
I'm creating and running the package locally on my machine but the database is on a server, running Windows Server 2008, which is not in the domain.
I have made sure that the DTC service is started both locally and on the server, and I have added the Firewall exceptions that are predefined in the Windows Vista firewall.
Why does the SSIS Runtime fail to start the distributed transaction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我遇到了同样的问题,但是,MS DTC 没有在我的计算机上运行。要打开事务协调器,我必须执行以下操作:
启动 MS DTC
服务列表中的
分布式事务协调器
。I had the same problem, however, MS DTC was not running on my machine. To turn on the Transaction Coordinator I had to do the following:
To start MS DTC
Distributed Transaction Coordinator
in the list of services.在这里检查我对此问题的解决方案 [ http://faiz.kera.la/2009/08/26/ssis-transaction-enabled-tasks-fail-due-to-msdtc ]
如果您的计算机不在域中,这是一种常见情况或运行Windows XP。
编辑:链接已失效。链接的原文似乎是:
Check my solution to this problem here [ http://faiz.kera.la/2009/08/26/ssis-transaction-enabled-tasks-fail-due-to-msdtc ]
This is a common scenario if your machines are not in a domain or running Windows XP.
Edit: the link is dead. The original text from the link seems to be:
要在 Windows 11 上启动分布式事务协调器服务,请按照下列步骤操作:
打开服务:
单击“开始”按钮或按 Windows 键。
在搜索栏中输入服务。
单击搜索结果中显示的服务应用程序。
找到分布式事务协调器:
在“服务”窗口中,向下滚动以查找分布式事务协调器。
启动服务:
右键单击“分布式事务协调器”。
从上下文菜单中选择开始。
To start the Distributed Transaction Coordinator service on Windows 11, follow these steps:
Open Services:
Click on the Start button or press the Windows key.
Type Services in the search bar.
Click on the Services app that appears in the search results.
Locate Distributed Transaction Coordinator:
In the Services window, scroll down to find Distributed Transaction Coordinator.
Start the Service:
Right-click on Distributed Transaction Coordinator.
Select Start from the context menu.