Solved

Distributed Transaction

Posted on 2004-03-26
3
1,321 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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

713 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