I’ve tried this:
insert into MyTable (col1, col2... coln)
exec remoteServer.remoteDB.dbo.StoredProcedure.
The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
Local server is SQL 2000, remote is 2008.
Any idea?
When I try executing the stored procedure things run smoothly, I get the result SELECT So the problem is at copying.
I’ve tried enabling MSDTC and it’s configuration (as seen here)
Assuming you’ve not already tried this, try wrapping this callout within a
DISTRIBUTED TRANSACTIONhttp://msdn.microsoft.com/en-us/library/ms188386.aspx