[QODBC-Desktop] Microsoft Excel Crashes When Refreshing QODBC Data After Upgrading to QODBC 2024
Posted by William - QODBC Support on 12 October 2026 12:08 PM

[QODBC-Desktop] Microsoft Excel Crashes When Refreshing QODBC Data After Upgrading to QODBC 2024

Problem Description:

After upgrading from an earlier version of QODBC to QODBC 2024, Microsoft Excel may crash unexpectedly when attempting to refresh data sourced from QuickBooks via QODBC - particularly when using the "Refresh All" button in Excel Power Query or linked tables. No error message is displayed; Excel simply closes.

Affected products: QODBC Desktop 2024, QuickBooks Desktop, Microsoft Excel
Expected outcome: After installing the QODBC hotfix (B01721), Excel can refresh QODBC data sources without crashing.

Symptoms:

  • Microsoft Excel crashes or closes immediately when clicking "Refresh All" on a worksheet that contains QODBC-sourced data.
  • No error dialog is shown - the application terminates silently.
  • The issue occurs specifically after upgrading to QODBC 2024 and did not exist in previous versions (e.g., QODBC 2023).
  • The QODBC Support Wizard's DSN check reports all items as successful, but the QuickBooks version check page may show errors.
  • The issue affects all types of QODBC connections in Excel, including Power Query tables, linked ODBC tables, and PivotTables connected to QODBC data sources.

Cause:

This is a known software bug (QODBC internal bug reference B01721) introduced in the initial release of QODBC 2024. The bug causes a memory access violation when Excel attempts to read data from QuickBooks through the newly installed QODBC 2024 driver, resulting in an immediate crash.

The issue is triggered by changes in how QODBC 2024 handles data type marshalling between Excel and QuickBooks during live data refresh operations. When Excel requests updated data from QODBC, the driver returns a response that causes Excel's ODBC client to terminate unexpectedly.

Bug Reference

This issue is tracked as B01721 on the QODBC internal bug list. The issue has been fixed and released in QODBC Desktop version 355.

Environment:

ProductVersion / Detail
QODBC Desktop Version 2024 (initial release) - not resolved by standard updates
QuickBooks Desktop All editions (Enterprise, Pro, Premier)
Microsoft Excel All versions with QODBC ODBC connections
Windows Windows Server 2019+, Windows 10/11

Solution:

  1. Close all applications that use QODBC or QuickBooks, including: QuickBooks Desktop, MS Excel, MS Access, QRemoteServer, and any other ODBC-consuming applications.
  2. Download the latest version of QODBC Desktop: Download the latest version of QODBC Desktop
  3. Uninstall the current QODBC 2024 version. Navigate to Control Panel → Programs and Features, locate QODBC Driver for QuickBooks, and uninstall it.
  4. Install the latest version. When prompted during installation, skip the CDKEY entry step - your existing license will carry over.
  5. Restart Windows to ensure all driver components are reloaded.
  6. After rebooting, you may need to:
    • Rebuild the QODBC Optimizer file (if your application uses cached data).
    • Reconfigure the default QODBC and QRemote DSN entries (the installer resets these to defaults - verify settings under Control Panel → Data Sources (ODBC) 32-bit).
  7. Test your Excel workbook. Open the affected workbook and click "Refresh All." Data should load without crashing Excel.
Warning

Do not deactivate your CDKEY during the uninstall/install process. Skipping the CDKEY step during hotfix installation preserves your existing license activation.

SQL Examples:

No SQL changes are required. After installing the hotfix, all standard QODBC queries work normally through Excel connections:

SELECT ListID, FullName, Balance FROM Customer
SELECT RefNumber, TxnDate, SubTotal
FROM Invoice
WHERE TxnDate >= {d'2024-01-01'}

Example Scenarios:

Before the fix:

A user upgraded from QODBC 2023 to QODBC 2024. Their Excel workbook, which had been pulling invoice data via ODBC for months, began crashing every time they clicked "Refresh All." The crash was immediate and silent - no error dialog appeared.

After the fix:

The user installed the B01721 beta hotfix, skipped the CDKEY step during installation, restarted Windows, and re-tested. Excel refreshed all QODBC-connected tables without any crash.

Additional Notes:

  • This is a beta hotfix, not a full release update. It addresses the specific Excel crash issue (B01721) and may be included in a future official QODBC 2024 release.
  • QODBC Support Wizard: You can use the QODBC Support Wizard to verify your installation is correct after applying this hotfix. See How to Use QODBC Support Wizard.
  • DSN and DSN resets: The hotfix installer may reset default QODBC and QRemote DSN entries. Always verify your System DSN configuration (Control Panel → Data Sources ODBC 32-bit → System DSN tab) after installing.
  • If the issue persists: Enable Detail Trace Log in the QODBC Setup Screen under the Messages tab, reproduce the crash, and share the resulting trace log file (QODBCTRA.TXT in %AppData%\QODBC Driver for QuickBooks) with QODBC Support.
  • Related QODBC versions: If you are using a version of QuickBooks earlier than 2024, this issue does not apply - consider whether upgrading to QODBC 2024 is necessary for your QuickBooks version.

Related Articles: How to Use the QODBC Support Wizard Understanding QODBC Optimizer Rebuild After Update Troubleshooting ODBC Connection Errors in Excel QODBC Installation and Configuration Guide

Keywords:

Excel Crash Refresh All QODBC 2024 B01721 Beta Hotfix Silent Crash ODBC Connection Power Query QuickBooks Version Check Data Source Reset Optimizer Rebuild DSN Configuration Windows Server 2019 QODBC Support Wizard
(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please complete the captcha below (we use this to prevent automated submissions).