If the QuickBooks company data file is not open

Open your company file

Problem

The sync fails to run automatically for QuickBooks Desktop users.

Description

Your web connector shows this error:

QBWC1039: If the QuickBooks company data file is not open, a call to the “BeginSession” method must include the name of the data file.

This message means the file is closed and QuickBooks has not been configured to sync, while the file is closed.

Solution

Open company file

Here are the steps:

  1. Login as admin.
  2. Open the company file in QuickBooks.
  3. Run the web connector.

Ensure file is matched

You moved the company file, but forgot to tell Connex. Our software sends the old file, it is missing, and the sync fails to run. Here are the steps:

  1. Log into Connex.
  2. Click settings.
  3. Click advanced.
  4. In QuickBooks, press F2.
  5. Copy the file path into the file path setting.
  6. Click save.

Enable the sync to run, when the file is closed

If you haven’t yet, set up Web Connector to run even when QuickBooks isn’t open. Here’s how:

  1. Sign in to QuickBooks as the admin user.
  2. If QuickBooks is in multi-user mode, go to the File menu, then select Switch to Single-user Mode.
  3. From the Edit menu, select Preferences.
  4. Select Integrated Applications, then select the Company Preferences tab.
  5. Select the application you want to add.
  6. Select Properties.
  7. Select Allow this application to log in automatically.
  8. On the Authorization window, select YES.
  9. Select User to sign in, then OK.