Solved

Oracle, MTS and COM using VB 6.0

Posted on 2000-05-09
4
825 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 65 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

624 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