Error 80040408 - QuickBooks Doesn't Start

Modified on Sun, 26 Jul at 2:59 AM

Overview

The QQube synchronization log contains an Intuit Software Development Kit (SDK) error similar to the following:

Synchronization log message

<<<<<<<<<<<<<<<<<<<<<< 10/15/2027 06:44:57 PM >>>>>>>>>>>>>>>>>>>>>> QBXMLSession_OpenConnection File named F:\QB Data\Rock Castle.QBW is not opened. BeginSession Error Code: 80040408 Could not start QuickBooks <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

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 CauseWhat Happened
Company file is open in Single-user ModeAnother user opened the company file in Single-user Mode, preventing QQube from opening it.
QQube QuickBooks user is already in useAnother person is signed in to QuickBooks using the same QuickBooks user assigned to QQube.
Company filename changedThe current QuickBooks company filename no longer matches the file originally added to the QQube Configuration Tool.
Company file path changedThe company file was moved and its current path no longer matches the QQube configuration.
QuickBooks runs as administratorThe QuickBooks shortcut or executable is configured to use Run this program as an administrator.
Multiple company files are configuredQuickBooks was manually opened to one company file before QQube attempted to synchronize several company files.
Synchronization Windows user was logged outThe Windows user where the QQube synchronization runs was logged out instead of disconnected.
Incorrect Multi-User implementationThe 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.

QQube Configuration Tool company file setup

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.

QQube Configuration Tool company file path setting

5. Disable Run as Administrator for QuickBooks

Open the QuickBooks shortcut properties and confirm that Run this program as an administrator is not selected.

QuickBooks shortcut compatibility settings showing Run this program as an administrator

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.

QuickBooks No Company Open window

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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article