Overview
The QQube synchronization log contains an Intuit Software Development Kit (SDK) error similar to the following:
Synchronization log message
What the Error Means
Error 80040408 comes directly from the Intuit SDK. QQube attempted to start QuickBooks and open the requested company file, but QuickBooks was not available to complete the request.
This is one of the most common QuickBooks connection errors.
Possible Causes
| Possible Cause | What Happened |
|---|---|
| Company file is open in Single-user Mode | Another user opened the company file in Single-user Mode, preventing QQube from opening it. |
| QQube QuickBooks user is already in use | Another person is signed in to QuickBooks using the same QuickBooks user assigned to QQube. |
| Company filename changed | The current QuickBooks company filename no longer matches the file originally added to the QQube Configuration Tool. |
| Company file path changed | The company file was moved and its current path no longer matches the QQube configuration. |
| QuickBooks runs as administrator | The QuickBooks shortcut or executable is configured to use Run this program as an administrator. |
| Multiple company files are configured | QuickBooks was manually opened to one company file before QQube attempted to synchronize several company files. |
| Synchronization Windows user was logged out | The Windows user where the QQube synchronization runs was logged out instead of disconnected. |
| Incorrect Multi-User implementation | The Synchronizer is running under a regular user instead of the dedicated Windows synchronization user where QQube was installed. |
Resolution
1. Return the Company File to Multi-user Mode
Confirm that no one has the QuickBooks company file open in Single-user Mode.
Single-user Mode is commonly used for administrative tasks such as merging accounts or items. After the task is complete, return the company file to Multi-user Mode before running QQube.
2. Confirm the QQube QuickBooks User Is Available
Make sure no other person is signed in to QuickBooks using the same QuickBooks user assigned to QQube.
In a Remote Desktop or hosted environment, confirm that only the dedicated synchronization user is configured to run the QQube synchronization.
3. Correct a Changed Company Filename
Change the QuickBooks company filename back to the original name, or add the company file again using its current filename and remove the obsolete company entry.
The filename cannot be edited directly in the QQube Configuration Tool.
In a Multi-User implementation, perform this work on the server while logged in to the Windows user where QQube was installed.
Review Add a QuickBooks Company File and Remove a QuickBooks Company File.
4. Correct a Changed Company File Path
Use the QQube Configuration Tool to update the company file path.
In a Multi-User implementation, perform this work on the server while logged in to the Windows user where QQube was installed.
5. Disable Run as Administrator for QuickBooks
Open the QuickBooks shortcut properties and confirm that Run this program as an administrator is not selected.
6. Prepare QuickBooks for Multiple Company Files
Before QQube synchronizes multiple company files, leave QuickBooks open to the No Company Open window.
The Intuit SDK does not allow QQube to close a company file that was opened manually.
7. Restore the Synchronization Windows Session
Log in to the Windows user where QQube was installed and where the synchronization normally runs.
For future remote access, disconnect from that Windows session instead of logging out. Logging out closes QuickBooks and prevents QQube from communicating with it.
8. Correct the Multi-User Installation
In a Multi-User implementation, run the Synchronizer only under the dedicated Windows synchronization user where QQube was installed.
A regular server or Remote Desktop user is not a synchronization user.
Review the Multi-User Remote Desktop Environment guide and the installation and requirements guides.
Expected Result
QuickBooks is available to the dedicated QQube synchronization user, the requested company file can be opened, and the synchronization completes without Error 80040408.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article