Connection to a DB2 database using a linked server with the following connection string:
Provider=DB2OLEDB;User ID=XXX;Password=XXX;Initial Catalog=XXX;Network Transport Library=TCP;Host CCSID=28591;PC Code Page=1252;Network Address=XXX;Network Port=3710;Package Collection=dbm;Default Schema=dbm;Process Binary as Character=False;Units of Work=DUW;DBMS Platform=DB2/NT;Persist Security Info=True;Cache Authentication=False;Connection Pooling=False;Derive Parameters=False;
Everything works fine when not running inside of an distributed transaction and using "Units Of Work=RUW". But as we need to run inside of an distributed transaction we're using DUW and receives an error saying:
OLE DB provider "DB2OLEDB" for linked server "XXX" returned message "Distributed units of work are not supported on this version of Host Integration Server.".
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "DB2OLEDB" for linked server "XXX".
The need for distributed transaction is because the query is initialized by BizTalk server that wraps the query within a distributed tran.