Solved

ODBC Driver Setup

Posted on 1998-05-11
2
724 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
ID: 1025351
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
ID: 1025352
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

910 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