Solved

Distributed Transaction

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

Join & Write a Comment

Suggested Solutions

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

746 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

11 Experts available now in Live!

Get 1:1 Help Now