[QODBC-Desktop] - Auto-Login and QRemote Always-On Configuration
Problem Description:
Customer was unable to establish a QODBC connection using the auto-login feature. The QODBC driver setup window showed no response when testing the connection. Additionally, the customer wanted to use QRemote to query data from a Data Gateway/cloud reporting tool without keeping QuickBooks open on the server all the time. Customer reported being able to connect when QuickBooks was open, but auto-login continued to fail even after following documentation.
Affected products: QODBC Desktop, QRemote, QuickBooks Desktop, Windows Server Expected outcome: Customer can successfully configure auto-login and QRemote for always-on connections without requiring QuickBooks to remain open continuously.
Symptoms:
- QODBC driver setup window shows no response when testing the connection
- Auto-login feature fails despite following documentation steps
- Customer can connect when QuickBooks is open, but not when using auto-login
- Customer wants to use QRemote to send queries from a Data Gateway/cloud reporting tool without keeping QuickBooks open
- Company file located on shared drive, hard to open QuickBooks application itself
Cause:
The auto-login and QRemote always-on configuration can fail for several reasons:
- QuickBooks company file path not correctly configured in both QODBC and QuickBooks. The DSN settings must point to the correct QuickBooks company file location.
- Authorize QODBC to access QuickBooks when QuickBooks isn't running. QODBC requires authorization from Admin to connect to QuickBooks even when QuickBooks isn't running.
- QRemote Client not properly configured on the hosting machine. The QRemote Client About page must show correct settings for the connection to work when QuickBooks is not actively running.
- Terminal Services / Remote Desktop environment. If using Terminal Services, QuickBooks must remain running (no need to log in to company file; just keep the QuickBooks window open) for QODBC connections to work.
- Auto-login enabled in QODBC Setup Screen. The option 'Allow QODBC to auto login' must be enabled (checked) on the Advanced tab of the QODBC Setup Screen.
In this case, the root cause was that the QuickBooks company file path was not correctly verified in both QODBC and QuickBooks.
Environment:
| Product | Version / Detail |
| QODBC Desktop |
All versions with auto-login support |
| QRemote Client |
All versions (32-bit and 64-bit) |
| QuickBooks Desktop |
All editions (Pro, Premier, Enterprise) |
| Operating System |
Windows (32-bit and 64-bit), Windows Server |
Resolution:
- Verify the QuickBooks company file path in the QODBC DSN.
- Start → All Programs → QODBC Driver for QuickBooks → Configure 32-Bit QODBC Driver → System DSN → QuickBooks Data → Configure → General tab
- Verify the company file path displayed matches the actual QuickBooks .qbw file location. (For the company file location, Open QuickBooks, press F2)
- If the path is incorrect, update the DSN to point to the correct .qbw file.
- Configure auto-login functionality.
- Refer to the official setup guide: http://qodbc.com/links/2360
- Refer to the auto-connect video: http://qodbc.com/links/2511
- Follow the steps to enable auto-login in the QODBC DSN configuration.
- After enabling, test the connection using the QODBC Test Tool with QuickBooks closed.
- Test QRemote always-on connectivity.
- After auto-login is working, test the QRemote DSN connections:
- Test the connection using QODBC DSN and QRemote DSN after logging off from the QuickBooks company file.
- Test the connection using QODBC DSN and QRemote DSN after closing the QuickBooks application.
- If using Terminal Services, keep the QuickBooks window open (no need to log in to the company file) and then try connecting.
SQL Examples:
After successful auto-login and QRemote configuration, test connectivity with:
SELECT * FROM Customer
Example Scenarios:
Scenario 1 - Server with shared company file:
A company has QuickBooks Enterprise on a Windows Server with the company file on a shared drive. Multiple users need QODBC access from different machines. By configuring auto-login and QRemote correctly, users can connect without keeping QuickBooks open continuously. The QRemote Client on the server machine handles the forwarding of queries to the QODBC instance near QuickBooks.
Scenario 2 - Cloud reporting tool via QRemote:
A data analytics team uses a cloud reporting tool that connects to QuickBooks data via QRemote. The QODBC Server license is on the machine hosting QuickBooks, and the QRemote Client license is on the cloud server machine. Auto-login ensures the connection establishes without manual intervention. Queries can be sent from the cloud tool even when no one is logged into the accounting workstation.
Additional Notes:
- 32-bit vs. 64-bit DSN alignment: Always ensure that both the 32-bit and 64-bit QODBC DSN configurations are aligned, including the QRemote Client About pages. Mismatched bitness can cause connection failures.
- Terminal Services environment: If running in a Terminal Services environment, the workaround is to keep the QuickBooks window open (no need to log in to the company file) and then try connecting. This is the only supported configuration for always-on access in Terminal Services.
- QRemote cannot run as a Windows service: QRemote is a desktop-based Windows application that must communicate with QuickBooks via the SDK, which requires an active desktop session. It cannot be configured as a background Windows service because Windows services run in a separate session and cannot interact with desktop applications.
- Auto-login timeout. Auto-login settings may time out or require re-authentication after certain periods. Plan for periodic re-authentication as part of the maintenance routine.
- If auto-login was denied, you can reset it. If the QuickBooks authorization dialog was previously dismissed with "Deny" or "No," QODBC will no longer prompt for authorization, resulting in Error 80040417. To re-enable auto-login: (1) Open QuickBooks Desktop → Edit → Preferences → Integrated Applications → Company Preference tab, (2) Remove the "FLEXquarters QODBC" entry from the list, (3) Reconnect using the QODBC Test Tool or your application - the authorization dialog will reappear, and you can click "Allow." Once authorized, auto-login works as expected.
- QRemote trial limitation. A new QODBC Desktop installation includes a 30-day trial. After the trial expires, a paid QODBC Online (QRemote) subscription is required for remote connections. The free Read-Only edition does not include a QRemote license.
- QRemote Server license. A secondary QRemote Server license ($75/yr) is needed when QuickBooks runs on a different machine than the SQL Server + QODBC combination. This applies to Azure/cloud deployments, Terminal Services environments with distributed components, and any setup where the QuickBooks SDK connection and the SQL/ODBC connection are physically separated.
Related Articles:
QODBC Optimizer Rebuilding and Troubleshooting QODBC Online Multi-User QRemote Port and Optimizer Understanding QODBC Licensing Terms: Desktop, Server, and Online Editions How to create or configure a QRemote DSN
Keywords:
QODBC Desktop QRemote Auto-Login Always-On QuickBooks Desktop Windows Server 32-bit DSN 64-bit DSN Company File Path QRemote Client Terminal Services SDK Limitation Per-Machine License
Support Tickets: CJO-435-44298, IUM-152-50463, JXI-599-44504, JTU-728-92658, KEF-610-61846, PFL-324-94185, NCT-495-22658, SQU-706-15486
|