Solved

ODBC Driver Setup

Posted on 1998-05-11
2
712 Views
Last Modified: 2008-02-01
I work on an application which uses odbc to connect to a MS Access 2.0 database.  The setup for my application adds the DSN to the odbc.ini file, but in most cases, the MS Access Driver (16-bit) is not present on the machine, so needs to be installed separately.

This is usually no problem, but on one particular client's machine, the driver refuses to be installed.  The install proceeds 'normally', but when the 'Data Sources' window appears, the MS Access driver does not appear in the 'Drivers' window.  The DSN for my Access DB appears in the Data Sources window (because it was manually added to the odbc.ini file during my app's install), but when I click on Setup I get the message "The setup routines for the Microsoft Access Driver (16-bit) ODBC driver could not be found.  Please reinstall the driver."  When I close the Data Sources window, a message says that the driver was installed successfully, but no ODBC icon has been set up in the Control Panel (as should happen).

I have tried installing the driver in this way a number of times, even in Windows 95 'safe mode', but the result is always the same.  The actual 16-bit MS Access driver, odbcjt16.dll, is in the windows\system directory, so it seems like it has been copied correctly.  The only other thing I can think of is that one or more Windows components are missing, which are needed by the ODBC Manager, but I don't know what these components may be.  I haven't gone so far as trying to reload Windows, and would prefer not to if there is another solution.  I have tried MS Support Online, but couldn't find anything to help. . .
0
Comment
Question by:drongo091197
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 200 total points
Comment Utility
Sometimes the ODBC Driver Manager itself has bugs.  This is the program that allows you to set up and manage your DSNs.  We have found that some bugs are solved by udpating your client system to a more recent version.  For instance, we had some annying problems with the ODBC 2.5 driver manager that were only fixed by upgrading the ODBC Driver Manager to version 3.0. To see what version you have, go to the about box on the ODBC Data Source Administrator panel (what you get right after you double click the icon)  If it's below 3.0, I'd say upgrade, then uninstall/reinstall  your access driver.
0
 

Author Comment

by:drongo091197
Comment Utility
I think you're talking about the 32-bit ODBC Manager - the 16-bit Manager doesn't even have an About, but I found the version from the properties on the odbcadm.exe, which is 1.05.0916.  According to MSDN, the latest version of the 16-bit ODBC Manager is 2.0c (the latest version of the 32-bit is 3.0, though I think 3.5 is in beta).  I actually have version 2.10 (?) on my machine (not the client's machine), but I don't have the setup disks for it.

Are there any other factors (eg. Windows components) which may affect installation of odbcadm.exe?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: I have seen many questions on EE and elsewhere, asking about how to find either gaps in lists of numbers (id field, usually) ranges of values or dates overlapping date ranges combined date ranges I thought it would be a good …
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

7 Experts available now in Live!

Get 1:1 Help Now