2009-09-15 16 views
10

i şu hata SQL Server 2008 için bir SSIS paketi oluştururken:SSIS Çalışma Zamanı Paketi neden dağıtılmış işlemi başlatmıyor?

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.

Ben oluşturma ve benim makinede lokal paketi çalışan ancak veritabanı Windows Server 2008 çalıştıran bir sunucuda ediyorum, etki alanında değil değil.

DTC hizmetinin hem yerel olarak hem de sunucu üzerinde başlatıldığından emin oldum ve Windows Vista güvenlik duvarında önceden tanımlanmış Güvenlik Duvarı özel durumlarını ekledim.

SSIS Çalışma Zamanı Paketi neden dağıtılmış işlemi başlatmıyor? makineleriniz Bir etki alanındaki veya Windows XP çalıştıran değilse

cevap

5

burada [http://faiz.kera.la/2009/08/26/ssis-transaction-enabled-tasks-fail-due-to-msdtc]

Bu yaygın bir senaryodur bu soruna benim çözümünü kontrol edin.

Düzelt: Bağlantı kesildi. bağlantısından orijinal metin gibi görünüyor:

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

Blogum çoktan öldü. Sadece aynı amaçla hizmet veren ağdan indirdiğim bir resim ekledim. – Faiz

-2

Hata: SSIS Süre 0x8004d01b hatası nedeniyle dağıtılmış işlem başlatılamadı "İşlem Yöneticisi kullanılamaz.". DTC işlemi başlatılamadı. MSDTC hizmeti çalışmadığı için bu oluşabilir.

4

Aynı sorun vardı, ancak MS DTC makinemde çalışmıyordu. Aşağıdaki yapmak zorunda İşlem Koordinatörü açmak için:

MS DTC

  1. , Başlat menüsünde Hizmetler'i açmak Denetim Masası'nı tıklatın başlatın.
  2. Denetim Masası'ndaki Yönetimsel Araçlar'ı tıklatın.
  3. Yönetimsel Araçlar'da Hizmetler'i tıklatın. Ayrıntılar bölmesinde, hizmetler listesinde Distributed Transaction Coordinator'u tıklatın.
  4. Eylem menüsünde, Başlat'ı tıklatın. Çalışmalar için teşekkürler Andrew.
+1

Bu ikinci kez googled ve sorunum çözüldü bu yazıya geri geldi. Bunun neden olduğunu bilen var mı? Ya da gelecekte bunu nasıl durduracağım? – Sam

İlgili konular