Solved

Distributed Transaction

Posted on 2004-03-26
3
1,306 Views
Last Modified: 2008-01-16
Dear Expert,
                 I have to access Oracle DB from MS SQL Server 2000.
My OS is Win2k adv server 2000 sp3.

I connect the Oracle Server with Link Server Technology of MS SQL Server.
I use OraOLEDB.Oracle driver.

The code is

SET XACT_ABORT ON
BEGIN DISTRIBUTED TRANSACTION

insert into openquery(kn,'select * from customer_info') values ('cust0005','customer 5')

COMMIT

where kn is Oracle service name and schema name.

When the code is run, following error occurs.

The operation could not be performed because the OLE DB provider 'OraOLEDB.Oracle' was unable to begin a distributed transaction.

OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' ITransactionJoin::JoinTransaction returned 0x8004d00a].


I already start the MSDTC service and RPC service.

Yours'
konge
0
Comment
Question by:konge
  • 3
3 Comments
 
LVL 13

Accepted Solution

by:
danblake earned 125 total points
ID: 10685689
0
 
LVL 13

Expert Comment

by:danblake
ID: 10685707
Specifically....

Troubleshooting Oracle Linked Server:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;280106


Error 7391: The operation could not be performed because the OLE DB provider 'MSDAORA' does not support distributed transactions. OLE DB error trace [OLE/DB Provider 'MSDAORA' ITransactionJoin::JoinTransaction returned 0x8004d01b]
Check if the OCI versions are registered correctly as described earlier in this article.


Also a new driver is available here:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;244661 for Oracle 9i.
0
 
LVL 13

Expert Comment

by:danblake
ID: 11038110
Could I ask, why does this get a grade C ??
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now