2009-09-15 118 views
10

在创建一个SSIS包的SQL Server 2008我碰到下面的错误:为什么SSIS运行时无法启动分布式事务?

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.

我创建和我的机器上本地运行的方案,但数据库的服务器上,运行Windows Server 2008,这是域中的而不是

我已确保DTC服务在本地和服务器上都启动,并且添加了Windows Vista防火墙中预定义的防火墙例外。

为什么SSIS运行时无法启动分布式事务?

回答

5

检查我解决这个问题就在这里[http://faiz.kera.la/2009/08/26/ssis-transaction-enabled-tasks-fail-due-to-msdtc]

这是一个常见的场景,如果你的机器是不是在一个域或运行Windows XP。

编辑:链接已死。从链接原文似乎是:

In my current project we have multiple SSIS developers in team and we all were sharing the database server instance in my system. We faced an issue yesterday when a team mate was trying to implement transactions in SSIS. The package fails in other machines although it is running smooth in my system where the database resides. The error message thrown out was,

The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00E “The transaction has already been implicitly or explicitly committed or aborted”

Soon we realized that this is something related to Microsoft Distributed Transaction Coordinator (MsDTC). We did some search and got a tool called “Dtcping.exe” which will check the health status of MsDTC processes in different machines. The tool reported an error “Access denied”, hinting some security issue with in the MsDTC. But we were not lucky even after a couple of hours of Googling. Then I decided to lean the security settings for MsDTC and I found that all network related connectivity is disabled by default. I learned that authentication settings can cause trouble as our machines were running Windows XP and as they were in a work group (we have a strange network configuration in my organization). I changed to “No Authentication Required” for MsDTC instances in all machines and it worked! To change the Security Configuration for MsDTC, go to Control Panel >> Administrative Tools >> Component Services >> Computers >> Right click My Computer and then click Properties >> Click the MSDTC tab >> Click Security Configuration. Below is a screen shot of the settings that I used, but I do not recommend this configuration for all cases as I am not aware of the impact it can have on securiy.

Screen shot

+0

谢谢安德鲁的努力。我的博客早已死亡。我添加了一张我刚刚从网上下载的图片,用于同样的目的。 – Faiz 2013-08-12 07:11:52

-2

错误:SSIS运行时未能启动由于错误0x8004D01B分布式事务“事务管理器不可用”。 DTC交易无法启动。这可能是因为MSDTC服务未运行。

4

我有同样的问题,但是,MS DTC没有在我的机器上运行。要打开事务处理协调器我不得不做以下几点:

要启动MS DTC

  1. 要打开服务,在开始菜单上,单击控制面板。
  2. 在控制面板中,单击管理工具。
  3. 在管理工具中,单击服务。在详细信息窗格中,单击服务列表中的 Distributed Transaction Coordinator
  4. 在“操作”菜单上,单击“开始”。
+1

这是我第二次使用Google搜索,并回到这个帖子解决了我的问题。有谁知道它为什么会发生?或者我如何确保将来停止它? – Sam 2018-02-15 15:59:30

相关问题