Color scheme: Dark
You are here: start » en » Documentation » Microsoft Access development tools » WKL Bootstrapper » Error codes of the starter » A database driver the application needs is not installed (code 34)

A database driver the application needs is not installed (code 34)

The window of the starter says: “A database driver the application needs is not installed.” Below it stands the error code 34; the diagnostic details (Alt+D) hold the technical detail, also the output of Wkl.Bootstrapper.exe /diagnose. The exit code of the starter is 34.

Environment

WKL Bootstrapper 1.0 and later on Windows 11; odbcDataSources from 1.0.1. Supported: Windows 11 with Microsoft Access of Microsoft 365, 32 bit.

Cause

One of two checks failed; the diagnostic details name which:

  • A driver of odbcDrivers has no key HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\<name> in the bitness of Access, or the DLL in its value Driver does not exist. A 32-bit Access sees only 32-bit drivers. A driver installed only for the user has no such key: name its data source in odbcDataSources instead.
  • A data source of odbcDataSources is neither a user DSN nor a system DSN of the bitness of Access, or its Driver is neither an installed driver name nor the path of an existing DLL of the bitness of Access. User DSNs are the same entry for both bitnesses, so a user DSN whose DLL has the other bitness fails here too. The path is taken literally: %LOCALAPPDATA% in it is not expanded.

Resolution

  1. Install the driver the diagnostic details name, in the bitness of Access, or create the data source they name with a driver of that bitness.
  2. For a driver installed only for the user, list its data source in odbcDataSources rather than the driver in odbcDrivers.
en/wiki/msaccess/bootstrapper/troubleshooting/34-odbc-driver-missing.txt · Last modified: by Wolfgang van der Stille