473,725 Members | 2,271 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help needed with using an IBM ODBC driver

Hi! We've switched from Developer Studio 6.0 to Visual Studio .net
2003. Our application compiles fine with Visual Studio .net 2003 but
when it runs, it uses the Microsoft ODBC driver as is shown in this
function sequence error we're getting when we issue an UPDATE SQL query
to our DB2 database:

State:S1010,Nat ive:0,Origin:[Microsoft][ODBC Driver Manager]

The IBM ODBC driver is installed. When I go to "Start/Settings/Control
Panel/Administrative Tools/Data Sources (ODBC)" and look at my data
sources, I see the IBM ODBC driver listed as the driver for all of my
DB2 databases.

I've read in this help page:

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003 FEB.1033/his/db2odbc1_8jtu.h tm

that Microsoft provides an IBM DB2 ODBC driver, so maybe that's the one
being used instead of the IBM supplied driver.

Any ideas on how to get the IBM supplied ODBC used instead of the
Microsoft ODBC driver, whether that's the Microsoft DB2 ODBC or not?

Thanks in advance for your time and assistance!

Peace...

Tom

Feb 15 '06 #1
1 1701
Well, I found out what the problem actually was. It had nothing to do
with the IBM DB2 ODBC driver. CDatabase::Exec uteSQL() in Visual Studio
..net 2003 now throws a CDBException when the query returns an empty
result set due to no data being found. In DevStudio 6,
CDatabase::Exec uteSQL() didn't behave this way and this new behavior is
causing the problem for me.

This bug report identifies the area of code in question:

http://support.microsoft.com/kb/246165/en-us

Peace...

Feb 23 '06 #2

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

Similar topics

0
1528
by: A.P. Madura | last post by:
Need help in debugging this problem. I have an access database which I use to demonstrate Java - ODBC connectivity and it works perfectly fine. This allows me to assume that the Data Source name definition is OK. I tried to access the same DSN (system DSN) thro' PHP and the following error is displayed. Warning: odbc_connect() : SQL error:
1
8216
by: Eirik Tryggeseth | last post by:
During deployment of an application using distributed transactions managed under COM+ on an Oracle 9i RAC database, we encounter situations where the load balancing mechanisms in the RAC result in that the component context in the distributed transaction (in our case two different COM components) cannot hold onto the same ODBC connection. Or it may be that the database session is changed dynamically for the ODBC connection, so that...
4
10005
by: pheonix1t | last post by:
hello, I'm trying to create a linked server from an SQL2000 to a Unify ELS (very old, odbc is version 1) database on SCO unix. The odbc driver is old but it works fine when used by applications for creating reports. What I want to do is make a linked server from the SCO box to the win2k box. So, I'm using enterprise manager to create the linked server. The DSN of the unify database is CORE_OFFICE1 I'm getting 'Error 7399: OLE DB...
2
17759
by: Amanda | last post by:
From a guy in Microsoft newsgroups: | In *comp.databases.ibm-db2* there are always IBM guys | from the Toronto labs on line.Post with the | -for the love of god please help- | line and I'm sure you'll get their attention. | Their usually very good:) So here's my transplanted post ==========================================
4
6535
by: MLH | last post by:
I apologize in advance to forum readers noticing this somewhat redundant post. I fear that my Subject Heading was ill-chosen in earlier post I made on this topic. Am hoping that a clearer Subject heading will attract the knowledgeable forum contributors I'm seeking. Thank-you... I'm being academically challenged trying to build a pass-through query inside of Access 2.0 to "reach out 'n touch" a remote data file running on a Linux box in...
0
1812
by: Wayfarer | last post by:
I loaded my Visual Studio, which includes SQL Server version 7.0. I did not encounter any error messages in the installation. It created two DSN entries: LocalServer & MQIS Unfortunately neither are working for me: Microsoft SQL Server ODBC Driver Version 03.70.0623 Data Source Name: LocalServer
0
1217
by: Marlon | last post by:
I got the error message below when I try to open a connection with code: Dim connection As New OdbcConnection("Driver={Microsoft Text Driver (*.txt; *.csv)};DBQ=C:\Inetpub\aesd") connection.Open() I am developing an asp.net application on Windows XP SP2. Can anyone help? Personal I think it is because of the limited permissions that asp.net account has.
0
12066
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in '/CinemaBookingSystem' Application. -------------------------------------------------------------------------------- ERROR General error Unable to open registry key 'Temporary (volatile) Jet DSN for process
20
3766
by: johnnyboy7 | last post by:
I don't know a lot about ASP and I know even less about SQL. I have been trying to search the web for information to be able to get done what I need. I've tried piecing things together from many different sites, adding my own info in where needed, but it just isn't working. What I want to do is, using an existing database setup for a calendar application, pull information out of the database and display a title of an entry that corresponds...
0
8752
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9179
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9116
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8099
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.