Solved

Oracle, MTS and COM using VB 6.0

Posted on 2000-05-09
4
810 Views
Last Modified: 2012-05-04
We are trying to talk with oracle 8i database through an MTS component that we have built using VB6.  We are using the Oracle ODBC driver for oracle (ver 8.1.5) provided with oracle 8.1.5.

we are getting the error message:
"
Microsoft OLE DB Provider for ODBC Drivers error '8004d00a'

[Oracle][ODBC]Failed to enlist global transaction with DTC
"

We have followed the instructions provided by oracle 8i manuals which gives a detail of talking to MTS.
Still we are getting the above error.

Any ideas?

What do I need to do to get transactions to work?  It works fine if I set the COM component as non-transactional, but that doesn't help since we need it to be transactional.  I've heard that a few patches exist for Oracle but I have not found any on their website.
0
Comment
Question by:soj_1
4 Comments
 
LVL 2

Expert Comment

by:cjwik
Comment Utility
look in the booksonline for sql server, it has some hints about how to use ms dtc with oracle, it is ms dtc and not mts that is your problem, mts is using ms dtc.

cj
0
 

Accepted Solution

by:
rogerkj earned 65 total points
Comment Utility
I am currently working on a project where we had the same problem. We contacted Oracle and Microsoft and found out that MTS and Oracle 8i does not work well togheter. The result were that we had to downgrade our database to Oracle 8.0.5 which solved all our problems.
0
 
LVL 1

Author Comment

by:soj_1
Comment Utility
Another workaround that I have figured out was that if you upgrade your Oracle 8i client to version 8.1.6, it will support MTS as well.  The database we are using is still 8.1.5 and we have no issues now.

Thanks for your input.
-Alex
0
 

Expert Comment

by:RayLeong
Comment Utility
Hi,

I had some problem with oracle client8i and mts. I had upgraded the orcale object for ole to 8.1.6 and the manager for MTS has started successfully. However i still couldn't rollback a transaction successfully. Might be a problem with MS DTC. Any suggestions? I had placed my question on experts-exchange on 26 May, titled "Oracle and MTS". I really appreciate if anyone could point out my mistake. Thank You.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 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