ODBC Driver Setup
Posted on 1998-05-11
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. . .