dbTalk Databases Forums  

The ole db provider 'SQLOLEDB' was unable to begin a distributed t

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss The ole db provider 'SQLOLEDB' was unable to begin a distributed t in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Raj
 
Posts: n/a

Default The ole db provider 'SQLOLEDB' was unable to begin a distributed t - 09-18-2006 , 11:59 AM






Hi

When I am trying to insert value in remote server (Linked Server) or trying
to run query with BEGIN TRAN & COMMIT from query analyzer I am getting
following error.

*********************************
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 can't enlist in the
specified transaction coordinator].

OLE DB error trace [OLE/DB provider 'SQLOLEDB'
ITransactionJoin::JoinTransaction returned 0x8004d00a]
***********************************************

But when I remove BEGIN TRAN & COOMIT insert statement or query works fine.

Can some one please help me with this?

Reply With Quote
  #2  
Old   
Charles Kangai
 
Posts: n/a

Default RE: The ole db provider 'SQLOLEDB' was unable to begin a distributed t - 09-27-2006 , 10:22 AM






Check the following:
1) Have you executed: SET XACT_ABORT ON
This is required for distributed transactions.
2) Is MSDTC service running?

Charles Kangai, MCT, MCDBA
Author of Learning Tree's 4-day course: "SQL Server 2005 Integration
Services" http://www.learningtree.com/courses/134.htm
Author of Learning Tree's 4-day course: "SQL Server Reporting Services"
http://www.learningtree.com/courses/523.htm
email alias: charles
email domain: kangai.demon.co.uk


"Raj" wrote:

Quote:
Hi

When I am trying to insert value in remote server (Linked Server) or trying
to run query with BEGIN TRAN & COMMIT from query analyzer I am getting
following error.

*********************************
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 can't enlist in the
specified transaction coordinator].

OLE DB error trace [OLE/DB provider 'SQLOLEDB'
ITransactionJoin::JoinTransaction returned 0x8004d00a]
***********************************************

But when I remove BEGIN TRAN & COOMIT insert statement or query works fine.

Can some one please help me with this?

Reply With Quote
  #3  
Old   
Raj
 
Posts: n/a

Default RE: The ole db provider 'SQLOLEDB' was unable to begin a distribut - 09-27-2006 , 11:02 AM



Hi Charles,

Thanks for the reply.

Yes I have executed SET XACT_ABORT ON and my MSDTC is also running. Unable
to find out why its not working anyhelp will be highly appreciated.

cheers
Raj

"Charles Kangai" wrote:

Quote:
Check the following:
1) Have you executed: SET XACT_ABORT ON
This is required for distributed transactions.
2) Is MSDTC service running?

Charles Kangai, MCT, MCDBA
Author of Learning Tree's 4-day course: "SQL Server 2005 Integration
Services" http://www.learningtree.com/courses/134.htm
Author of Learning Tree's 4-day course: "SQL Server Reporting Services"
http://www.learningtree.com/courses/523.htm
email alias: charles
email domain: kangai.demon.co.uk


"Raj" wrote:

Hi

When I am trying to insert value in remote server (Linked Server) or trying
to run query with BEGIN TRAN & COMMIT from query analyzer I am getting
following error.

*********************************
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 can't enlist in the
specified transaction coordinator].

OLE DB error trace [OLE/DB provider 'SQLOLEDB'
ITransactionJoin::JoinTransaction returned 0x8004d00a]
***********************************************

But when I remove BEGIN TRAN & COOMIT insert statement or query works fine.

Can some one please help me with this?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.