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 8004040A comes directly from the Intuit SDK. QuickBooks currently has one company file open, but QQube is requesting a different company file.
Possible Causes
| Possible Cause | What Happened |
|---|---|
| Two QuickBooks instances are open | Two copies of QuickBooks are running under the same Windows user. |
| Different company file is open | QuickBooks is open to a company file other than the one QQube is attempting to synchronize. |
| Company filename changed | The 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. |
| Multiple company files are configured | QuickBooks was manually opened to one company file before QQube attempted to synchronize several company files. |
| 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. Close Other QuickBooks Instances
Under the Windows user that runs the QQube synchronization, close every open QuickBooks window. Start only one copy of QuickBooks.
2. Confirm the Correct Company File
Make sure QuickBooks is either open to the company file QQube is requesting or open to the No Company Open window.
3. Correct a Changed Filename or Path
Perform this work while logged in to the Windows user where QQube was installed.
If the company filename changed, add the company file again using its current name and then remove the obsolete company entry. The filename cannot be edited directly in the QQube Configuration Tool.
If the company file was moved, update QQube to use the current company file path.
4. 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.
5. Correct the Multi-User Synchronization Setup
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 open to the correct company file or the No Company Open window, the QQube company filename and path are current, and the synchronization completes without Error 8004040A.
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