Drop Table
Support Forum for database administrators and web based access to important newsgroups related to databasesHi 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
inTra
nsaction returned 0x8004d00a].
However, If change the provider to MSDASQL - it works.
I have (I think), followed the article about changing the DTC to "No Authent
ication Required" in the component services.
Could someone point me in the correct direction please? I need this to work
with SQLOLEDB.
Thanks Mike
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread