Home > Archive > Microsoft SQL Server forum > February 2006 > Distributed transaction error!!!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Distributed transaction error!!!
Mike R

2006-02-25, 9:45 am

Hi All,

I have a simple test on a SBS2003 box. The server is called crmserver.

My T-SQL:

USE master
GO
EXEC sp_addlinkedserver
'MYLINK',
'',
'SQLOLEDB',
NULL,
NULL,
'DRIVER={SQL Server};SERVER=crmse
rver;Integrated Security=SSPI'
GO

begin distributed transaction
SELECT * FROM [MYLINK].pubs.dbo.authors
commit tran

GO

EXEC sp_dropserver 'MYLINK'

I then get this message:


Server: Msg 7391, Level 16, State 1, Line 3
The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::Jo
inTransaction returned 0x8004d00a].

However, If change the provider to MSDASQL - it works.

I have (I think), followed the article about changing the DTC to "No Authentication Required" in the component services.

Could someone point me in the correct direction please? I need this to work with SQLOLEDB.

Thanks Mike
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com