Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Oracle, MTS and COM using VB 6.0

Posted on 2000-05-09
4
Medium Priority
?
830 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Expert Comment

by:cjwik
ID: 2792630
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 195 total points
ID: 2796254
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
ID: 2798011
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
ID: 2852477
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Suggested Courses

721 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