Fix ODBC Error 126 for the Microsoft Access Driver
Question details
Resolve ODBC Error 126 so an application can load the Microsoft Access ODBC driver and connect to an Access database.
- Product
- Microsoft Access ODBC driver
- Device & OS
- Windows; version not provided
- Scenario
- A user is building a proof-of-concept web application with Scriptcase and a Microsoft Access database.
- Observed behavior
- Windows cannot load the Access ODBC driver. The driver may be missing, have the wrong bitness, or reference ACEODBC.DLL in an unavailable Office14 folder.
Determine whether the application process that connects to Access is 32-bit or 64-bit; this can differ from the Windows bitness. Note the existing system DSN name and database path before changing its configuration.
Install a matching Access ODBC driver and recreate the system DSN
Use this method when the Access driver is missing, has the wrong bitness, or points to an unavailable DLL.
Check the Scriptcase or web server configuration to identify whether the process making the ODBC connection is 32-bit or 64-bit. Choose the driver based on that process, not just the Windows version.
Open the matching ODBC Data Source Administrator: run %windir%\SysWOW64\odbcad32.exe for 32-bit or %windir%\System32\odbcad32.exe for 64-bit. On the Drivers tab, check for a Microsoft Access driver.
Download the Microsoft Access Database Engine from https://www.microsoft.com/en-us/download/details.aspx?id=54920 and run the 32-bit or 64-bit installer that matches the application process. Follow any installer guidance about conflicts with existing Office components.
Open the matching ODBC Data Source Administrator again. On the System DSN tab, remove the obsolete DSN if necessary, then select Add, choose the Microsoft Access driver, and configure the DSN name and database path. Administrator permissions may be required.
In Scriptcase, update or select the system DSN in the database connection settings and test the connection. If Error 126 remains, check that the application and driver bitness match and that the driver installation completed successfully.
Use WPS Office for compatible Office documents
WPS Office is a free, lightweight alternative for working with Office documents, spreadsheets, and presentations. Its familiar interface and format support make it easy to migrate everyday files, though it does not install or repair the Microsoft Access ODBC driver.

Frequently Asked Questions
Does the Access ODBC driver need to match Windows or the application?
It must match the bitness of the process making the ODBC connection. A 32-bit application needs a 32-bit driver even on 64-bit Windows.
Where can I find the 32-bit ODBC Data Source Administrator?
Press Windows+R and run %windir%\SysWOW64\odbcad32.exe. For the 64-bit administrator, run %windir%\System32\odbcad32.exe.
Why does the error mention ACEODBC.DLL in an Office14 folder?
The driver configuration may point to an old or unavailable installation. Install the appropriate Access Database Engine package, then recreate the DSN using the matching ODBC Data Source Administrator.
Can WPS Office fix Microsoft Access ODBC Error 126?
No. The error requires troubleshooting the Microsoft Access driver and Windows ODBC configuration. WPS Office is an alternative for common Office documents, spreadsheets, and presentations.




