This issue typically indicates that the connection prerequisites have not been met.
To establish a successful connection and retrieve data from QuickBooks Desktop, ensure the following:
1. The Devart ODBC driver must be installed on the same computer where QuickBooks Desktop is installed.
2. QuickBooks Desktop must be running, and the company file specified in the connection settings must be open.
3. The company file must reside on the same computer as both QuickBooks Desktop and the ODBC driver.
4. The path to the company file in the driver settings must point to a local directory, not a network location.
By verifying these conditions, the ODBC connection should function as expected.