Solved

Oracle, MTS and COM using VB 6.0

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ms access #TYPE! error on report when no data 4 77
MsgBox 2 56
Put text in a picture ASP.NET C# 2 57
Add a task in Outlook from access 11 39
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 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