473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

client v7 to connect v8.1 mts error

Setup:
OS: Windows 2000
DB2 Client 7.2 FP13
Connecting to a DB2 Connect Gateway v8.1 FP8
COM+ Component written in VB6
MDAC 2.8 installed

I have a simple test component that "RequiresTransaction". This is
called by a simple form with one button. When the component is called
it performs the following logic:

on error goto errorhandler
Create connection -> set cursor location adUseClient -> open connection
execute SQL statement (an insert)
GetObjectContext.SetComplete
exit sub
errorhandler:
GetObjectContext.SetAbort
raise error
end sub

This works fine (both committing and rolling back) against DB2 Connect
v7.2 but fails against DB2 Connect v8 on the .execute with the
following error:
[IBM][CLI Driver][DB2] SQL0998N Error occurred during transaction or
heuristic processing. Reason Code = "39". Subcode = "". SQLSTATE=58005

I also tried it with a v8 client on a WinXP box and i get the same
error with a reasoncode of 16 and a subcode 2-80004005 on the
connection.open.

I haven't found a posting on a forum or elsewhere that describes what I
am doing and this particular problem (or a solution to it). Any
thoughts?

Nov 12 '05 #1
1 1923
<ma*****@gmail.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Setup:
OS: Windows 2000
DB2 Client 7.2 FP13
Connecting to a DB2 Connect Gateway v8.1 FP8
COM+ Component written in VB6
MDAC 2.8 installed

I have a simple test component that "RequiresTransaction". This is
called by a simple form with one button. When the component is called
it performs the following logic:

on error goto errorhandler
Create connection -> set cursor location adUseClient -> open connection
execute SQL statement (an insert)
GetObjectContext.SetComplete
exit sub
errorhandler:
GetObjectContext.SetAbort
raise error
end sub

This works fine (both committing and rolling back) against DB2 Connect
v7.2 but fails against DB2 Connect v8 on the .execute with the
following error:
[IBM][CLI Driver][DB2] SQL0998N Error occurred during transaction or
heuristic processing. Reason Code = "39". Subcode = "". SQLSTATE=58005

I also tried it with a v8 client on a WinXP box and i get the same
error with a reasoncode of 16 and a subcode 2-80004005 on the
connection.open.

I haven't found a posting on a forum or elsewhere that describes what I
am doing and this particular problem (or a solution to it). Any
thoughts?

Sounds like an issue for IBM DB2 software support.
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tig | last post by:
Hi all. I have a need to connect to an Oracle 7.3.3.5 database. I have a user who successfully connects to it with her Oracle 7.3 client. I have an Oracle 9.2 client installed on my machine. ...
4
by: Tig | last post by:
Hi all. I have a need to connect to an Oracle 7.3.3.5 database. I have a user who successfully connects to it with her Oracle 7.3 client. I have an Oracle 9.2 client installed on my machine....
13
by: cab0san | last post by:
I downloaded the DB2 runtime client, but the Client Base support and the TCP protocol do not install. I re-run the setup select them to run from disk, and they still show as not installed. What am...
0
by: Russ | last post by:
I have set up a C# web application that runs on my test Web Server (Windows 2003 Server, Web Edition). It in turn calls a web service running on the internal network. Now I want to issue a...
4
by: whitemoss | last post by:
Hi, I've made some changes to my coding..but unfortunately, there were errors when compiling it..dunno how to solve it..hope anyone can help me...the errors: client.c: In function senddata:...
0
by: ollii | last post by:
Hello evryboody, i created client and srever program that they can both communicate together by TCP and UDP, but when i want to send message to server from client i get error on the server i get...
2
by: ppuniversal | last post by:
Hi everyone, I have made a client-server code in Linux. The server is running properly and is sitting at its accept() method. But the client is unable to connect to the server. The Server and Client...
1
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up...
0
by: 85ssp | last post by:
I am creating a small server client program that is meant for up to 70 connections from 70 different computers on a network. Everything in the program functions correctly except when testing...
3
by: Hukkky | last post by:
I'm testing simple server/client codes on linux. just server can wait for client's connect sign and accept, and client can't connect to server, this is all. There's no problems just for this...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.