|
[QODBC ALL] Using QODBC with 32-bit and 64-bit Applications - How to Match DSN Bitness
Posted by William - QODBC Support on 22 September 2026 10:06 AM
|
|
[QODBC ALL] Using QODBC with 32-bit and 64-bit Applications - How to Match DSN BitnessProblem Description:When connecting a front-end application (such as MS Excel, MS Access, or a custom VBA application) to QODBC via ODBC DSN, the bitness of the application must match the bitness of the DSN. Mismatching them - for example, using a 64-bit Excel workbook that references a 32-bit DSN - results in an 80004005 ODBC error when attempting to read records. Additionally, some users run both 32-bit and 64-bit versions of the same application on different machines connecting to QuickBooks and wonder whether each version needs a separate integration entry or DSN. Affected products: QODBC Desktop (both 32-bit and 64-bit drivers), QuickBooks Desktop, MS Excel (32-bit and 64-bit), any ODBC-compatible application Root Cause:ODBC drivers are architecture-specific. A 64-bit application can only access 64-bit ODBC drivers, and a 32-bit application can only access 32-bit ODBC drivers. There is no cross-bitness bridging possible - the operating system prevents a 64-bit process from loading a 32-bit DLL and vice versa. DSN Configuration for Mixed Environments:In a mixed 32/64-bit environment, you create separate DSNs for each architecture. They can share the same name but are registered in different system registries. Creating a 32-bit DSN:
Creating a 64-bit DSN:
Verifying Which DSN Your Application Uses:Your application automatically picks up the DSN based on its own bitness - no additional configuration is needed. A 64-bit Excel will use the 64-bit "QuickBooks Data" DSN, and a 32-bit Excel will use the 32-bit "QuickBooks Data" DSN. To verify which version of ODBC your application sees:
QuickBooks Integration Links - One Per Application, Not Per Bitness:QuickBooks manages integration links per application name, not per bitness. You will see a single entry for "Excel" in the QuickBooks Integrated Applications list regardless of how many bitness versions are installed or connecting.
Troubleshooting Error 80004005:If you receive an 80004005 ODBC error when reading data through QODBC from a front-end application, the most common cause is a bitness mismatch:
Related Articles:How to Activate QODBC How to Reconnect QODBC Online with QuickBooks Online Edition QODBC Licensing Information How to Activate QODBC 64-Bit on a Machine That Already Has 32-Bit Installed QODBC Licensing Forward and Backward Compatibility Keywords:32-bit DSN 64-bit DSN ODBC Bitness Error 80004005 Excel 32-bit Excel 64-bit System DSN Integration Link VBA ADODB QuickBooks Desktop Mixed Architecture DSN Name ODBC Manager SysWOW64
| |
|
|


