For love nor money, we can't get this to work. I'm trying this oh so simple example on a dev box with SQL Server 2005 Developer Ed. SP2 , Windows XP SP2.
The Source Database:
ALTER DATABASE MyDB
SET ALLOW_SNAPSHOT_ISOLATION ON
1) Create a package, any name will do.
2) Create a new OLE DB connection with default settings to a database on local SQL Server 2005 SP2 Dev Ed. which you are a SysAdmin of.
3) Add an "Execute SQL Task" to the Control Flow. (I only chose this to keep it simple but any component will do). Edit the SQL Task to "select count(*) from SomeTable". This won't do anything particularly useful but should just connect to the database, count the rows in the table and return a success.
4) Right click the SQL Task component and select properties.
5) In the properties pane, set the IsolationLevel property to "Snapshot"
6) Set the TransactionOption property to "Required".
7) Execute the package.
Every time this fails with:
[Execute SQL Task] Error: Failed to acquire connection "(local).MyDB". Connection may not be configured correctly or you may not have the right permissions on this connection.
[Connection manager "(local).MyDB"] Error: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction.".
[Connection manager "(local).MyDB"] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x8004D00A.
Please note: MSDTC is running and security configuration has been configured as:
Network DTS Access = 1
Allow Remote Clients = 1
Allow Remote Administration = 1
Allow Inbound = 1
Allow Outbound = 1
Mutual Authentication Required = 1
Enable Transaction Internet Protocol (TIP) Transactions = 1
Enable XA Transaction = 1
Account: NTAUTHORITY\NETWORK SERVICE
SSIS service is running under NTAUTHORITY\NETWORK SERVICE.
I'm a sysadmin, even tried making ntauthorityetwork service a sysadmin. Nothing. Fail fail fail. If I change the IsolationLevel to anything else this runs fine. I've been here http://support.microsoft.com/kb/914375 but I'm running SP2!
Have I completely missed something here?