Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Distributed transaction error!!!
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
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

Report this thread to moderator Post Follow-up to this message
Old Post
Mike R
02-25-06 02:45 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:25 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006