[QODBC-Desktop] - QODBC 64-Bit Driver and Excel 64-Bit Read/Write Connectivity Issues
Problem Description:
QODBC 64-Bit driver experiences intermittent or persistent read-write connectivity issues when used with Microsoft Excel 64-Bit. Queries that succeed via the QODBC Test Tool may fail in Excel, with the subscription appearing to lack read-write capability. The issue may also manifest as the QODBC About screen switching from "read-write, Active" to "read-only, License error," even when a valid read-write subscription is installed and activated.
Affected products: QODBC Desktop (64-Bit driver), QuickBooks Desktop, Microsoft Excel 64-Bit Expected outcome: QODBC 64-Bit driver maintains consistent read-write connectivity with Excel 64-Bit after license activation; the About screen displays "read-write, Active" status.
Symptoms:
- QODBC Test Tool connects successfully, but Excel reports read-only or license error status.
- The QODBC About screen (via QODBC Setup Screen → About Tab) displays "read-only, License error" instead of "read-write, Active."Queries fail in Excel with messages about missing read-write capability, even though the same subscription works via the Test Tool.
- The issue occurs intermittently - QODBC may work with Excel after a computer reboot but fail after continued use.
- The QODBC driver status changes from "Active" to "read-only" without apparent cause, particularly when using a trial version of QuickBooks or QODBC alongside a purchased read-write subscription.
Cause:
Several interrelated factors can contribute to read-write connectivity issues between QODBC 64-Bit and Excel 64-Bit:
- VirtualStore registry redirection: On Windows systems with User Account Control (UAC), QODBC driver configuration data may be redirected to the Windows VirtualStore area (AppData\Local\VirtualStore) instead of the expected system-wide locations. This can cause the license state to be stored in a per-user location that Excel does not read.
- OCX registration issues: The QODBC OCX control (I9K4UQLW.ocx or similar) may become improperly registered or cached, particularly after software updates, system restarts, or when QuickBooks or QODBC is installed/updated under different user contexts.
- Trial license conflict: When QuickBooks and/or QODBC are used in trial mode alongside a purchased read-write subscription, the trial license may take precedence in certain contexts, causing the driver to report read-only status despite a valid purchased license being activated.
- QRemote interaction: QRemote Server, when running, maintains persistent connections to QuickBooks. License state synchronization between QODBC Desktop and QRemote Server may experience timing or state conflicts, particularly after activation/deactivation cycles.
Important
This article documents technical troubleshooting steps based on a specific support ticket. Results may vary depending on individual system configurations, QuickBooks versions, and QODBC deployment models. If the issue persists after attempting these steps, contact QODBC Support for remote assistance.
Solution:
- Close all relevant applications. Ensure both Microsoft Excel and QuickBooks Desktop are fully closed. Also close any other ODBC-consuming applications (e.g., MS Access, SQL Server Management Studio).
- Remove QODBC Driver VirtualStore folders. On Windows systems with UAC enabled, QODBC driver data may be redirected to the VirtualStore. Remove these folders to force QODBC to use the system-wide configuration:
- Open File Explorer and navigate to:
C:\Users\%USERNAME%\AppData\Local\VirtualStore\ProgramData\QODBC Driver for QuickBooks
- If this folder exists, delete it entirely.
- Also navigate to:
C:\Users\%USERNAME%\AppData\Local\VirtualStore\Windows
- If the file
I9K4UQLW.ocx (or similar QODBC OCX file) exists in this folder, delete it.
- Re-register the QODBC OCX control. Open an elevated command prompt (Run as Administrator) and run:
regsvr32 "C:\Program Files\QODBC Driver for QuickBooks\I9K4UQLW.ocx"
Note: If the OCX file has a different name or location on your system, adjust the path accordingly. If you are unsure, contact QODBC Support for the correct file path.
- Run applications as Administrator. Both Microsoft Excel and QuickBooks Desktop should be launched with "Run as Administrator" privilege. Right-click the application shortcut or executable and select Run as Administrator. This ensures both the ODBC driver and QuickBooks are operating under the same security context.
- Verify the QODBC About screen. Open the QODBC Setup Screen → About Tab in either the QODBC Test Tool or within Excel (via the QODBC add-in or DSN configuration). The About screen should display "read-write, Active" status. If it still shows "read-only, License error," proceed to the next step.
- Test with QODBC Test Tool. Open the QODBC Test Tool (64-Bit DSN) and verify that queries succeed. If the Test Tool works but Excel does not, the issue may be specific to Excel's ODBC connection configuration or Power Query settings.
SQL Examples:
After applying the resolution steps above, any standard QODBC query will work through either 32-Bit or 64-Bit DSN connections:
SELECT ListID, FullName FROM Customer
SELECT RefNumber, TxnDate, TOTAL(TotalAmount) AS Revenue
FROM Invoice
WHERE TxnDate >= {d'2025-01-01'}
GROUP BY RefNumber, TxnDate
Example Scenarios:
Before the fix:
A customer with a QODBC read-write subscription experienced intermittent read-only status in Excel 64-Bit. The QODBC Test Tool connected successfully, but Excel reported that the subscription lacked read-write capability. The QODBC About screen toggled between "read-write, Active" and "read-only, License error" depending on whether Excel and QuickBooks were run as Administrator. The issue was first reported after the customer upgraded to QuickBooks 2024 Enterprise Desktop trial while possessing a purchased QODBC read-write subscription.
After the fix:
The customer closed Excel and QuickBooks, removed the QODBC Driver folders from the Windows VirtualStore locations (ProgramData\QODBC Driver for QuickBooks and Windows\), re-registered the OCX control via regsvr32, and relaunched both Excel and QuickBooks using "Run as administrator." The QODBC About screen then consistently displayed "read-write, Active," and Excel queries succeeded without read-write errors.
Additional Notes:
- Single license, dual activation: One CDKEY activates both the 32-Bit and 64-Bit QODBC drivers simultaneously. There is no separate 64-Bit license or CDKEY. Activation is managed through the 32-Bit ODBC Administrator (
odbcad32.exe located at C:\Windows\SysWOW64\odbcad32.exe on 64-Bit Windows).
- Subscription renewal sync: After any subscription renewal, payment method change, or account update on QODBC's end, the license may need to be synced again through the 32-Bit ODBC Administrator. Clicking the Sync Now button on the Activate/Deactivate tab refreshes the server-side status.
- QRemote conflicts: QRemote is a background service that maintains persistent connections to QuickBooks. If QRemote is running when you attempt to activate or sync your license, it may prevent the activation from completing. Always close QRemote before attempting license activation or sync.
- Differentiating between 32-Bit and 64-Bit ODBC: On a 64-bit Windows system, there are two separate ODBC Administrators. The 32-Bit version is located at
C:\Windows\SysWOW64\odbcad32.exe. The 64-Bit version is at C:\Windows\System32\odbcad32.exe. Always use the 32-Bit version for QODBC activation and configuration.
- Trial version consideration: If QuickBooks or QODBC are in trial mode, the trial license may take precedence over a purchased read-write subscription in some contexts. Ensure that trial modes are fully licensed before troubleshooting read-write connectivity issues.
Related Articles:
QODBC 64-Bit Driver Activation Through 32-Bit ODBC AdministratorHow to Activate QODBCQODBC Subscription License Broken After QODBC 24 UpgradeUnderstanding 32-Bit vs 64-Bit ODBC Drivers on Windows
Keywords:
QODBC 64-Bit Excel 64-Bit Read-Write Subscription License VirtualStore OCX Registration Activation License Error QRemote ODBC Administrator SysWOW64 QuickBooks Admin
Support Tickets: ZEH-811-80431, WZW-912-88863
|