Solved

ODBC Error On One PC but Not Others

Posted on 2004-08-11
5
445 Views
Last Modified: 2008-03-17
We have an Access 97 application using oracle tables on an oracle 8.0.5 database.  We are in the process of rewritting the application in a newer toolset, but that doesn't get us past this issue.

There is a query that fails with the message "ODBC Call Failed" when it is run on computer "A", but on computer "B" it runs fine.  I did an ODBC trace and the error message is:

DIAG [S0022]  [Oracle] [ODBC] [Ora] ORA-00904: invalid column name (#904)

Computer "A" and "B" are supposed to be identical images.  They have the same versions of Access and Oracle Client.  The exceptions are that computer "B" (which works) is a developer's computer so it has Toad and other software.

The query is fairly complicated.  It is a query of two other queries using an outter join to look for missing records.  Removing the outer join allows the query to run on computer "A" (broken).  But, the whole point of the query is the outer join.  I've attempted to rewrite the query in different ways, but with no success.
0
Comment
Question by:Brian__P
  • 3
5 Comments
 
LVL 18

Accepted Solution

by:
Data-Man earned 225 total points
ID: 11775779
check the version of the oracle drivers on both machines.  

You may also want to check Jet

http://support.microsoft.com/default.aspx?scid=kb;en-us;239114

Mike
0
 
LVL 1

Author Comment

by:Brian__P
ID: 11776067
All of the ODBC drivers match on the machines.  I did reinstall the 817 client.  I updated the Jet engine with the latest service pack you metioned, but still no success.
0
 
LVL 13

Expert Comment

by:lucas911
ID: 11776110
You might want to take a look at this one too:

http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B108439
0
 
LVL 1

Author Comment

by:Brian__P
ID: 11776123
This is interesting.  Access 2002 (Office XP) is installed on both machines.  I converted the database to version 2000 and ran the query on computer "A" which originally was broken - and it works.  But I can't say this is an Access 97 issue because it works on Access 97 on computer "B".
0
 
LVL 1

Author Comment

by:Brian__P
ID: 11779302
The issue was with the Jet drivers.  Thanks everyone!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now