# QBWC1039: there was a problem adding the application

## What you see

QBWC1039: There was a problem adding the application. Check QWCLog.txt for details.

## What it means

QuickBooks refused to register the app: no company file was open, it wasn't open as the Admin user in single-user mode, or the same app was already added to this file with different details.

## How to fix it

QBWC1039 is the Web Connector saying it couldn't register an app with a company file. Intuit's article on it lists eight messages that come with the code, each with its own fix (the two BeginSession ones share a row below), so find the line that matches the one you see. The Web Connector's log, `QWCLOG.TXT` in `C:\ProgramData\Intuit\QBWebConnector\log`, has the exact wording if the message on screen is cut off.

Before anything else, do what most of these fixes need anyway: open the company file in QuickBooks, signed in as the **admin**, in **single-user mode** (**File > Switch to Single-user Mode**), then add the `.qwc` file again.

| The message says | Intuit's cause | Intuit's fix |
| --- | --- | --- |
| There was a problem adding the application. Check QBWCLog.txt for details | No company file open, the file was moved, or QuickBooks isn't on its newest release | Open the file; move it back if it was moved; update every QuickBooks version on the PC, including ones you don't use |
| This application has not accessed this QuickBooks company data file before | The `.qwc` file was added while not signed in as admin | Sign in as admin in single-user mode, open the Web Connector, **Add an application** |
| This application does not have permission to access the QuickBooks company data file | The admin hasn't allowed the app | As admin: **Edit > Preferences > Integrated Applications > Company Preferences**, untick **Don't allow any applications to access this company file**, allow the app, **OK** |
| Error connecting to QuickBooks | The Web Connector and the company file are in different places | Run the Web Connector on the PC where the company file is stored |
| If the QuickBooks company data file is not open... or ...a call to the "BeginSession" method must include the name of the data file | The file was renamed or moved, or the app can't sign in while QuickBooks is closed | Put the file back under its old name and place, or let the app sign in on its own (steps on [the QuickBooks not running page](/web-connector-errors/quickbooks-not-running)) |
| Unique OwnerID/FileID pair value required | The app was already added to this company file once | Remove the old stamp with Intuit's CP3 tool (below), then add the app again |
| Unable to add FileID to company file for this Application | The app was added too many times | Intuit says to contact QuickBooks support |

## Unique OwnerID/FileID pair value required

When an app is added, the Web Connector stamps the company file with two ids from the `.qwc` file: an **OwnerID**, one per app, and a **FileID**. Intuit's Programmer's Guide describes the stamp as one FileID per app: a file used by ten apps carries ten. A second `.qwc` file from the same app with a different FileID can't be added on top, and QuickBooks gives this message.

With Desktop Books, that happens when the same QuickBooks company file is connected twice: for example, someone removed it in Desktop Books and created it again, and the new entry's `.qwc` file has a new FileID. Re-adding the **same** `.qwc` file, which keeps its ids every time you download it, doesn't cause it.

Intuit's fix, with the CP3 tool (`QBWC_CP3Tool.exe`) from its QBWC1039 article:

1. Open QuickBooks with the company file.
2. Download the CP3 tool from Intuit's article and open it.
3. Choose **Select file** and pick the `.qwc` file. Its path appears under **Enter QBWC file Location**.
4. Choose **Open**, then **Remove Stamp**.
5. On the **QuickBooks Application Certificate** window, choose **Yes**, then **Continue**.
6. On **Access Confirmation**, choose **Done**, follow the prompts and choose **OK**.
7. When it confirms the Owner ID was removed, choose **OK**.
8. Exit QuickBooks and the Web Connector, open them again, and add the new `.qwc` file.

Before you remove a stamp, check you have the right file. If an old Desktop Books entry for this company file still exists and still syncs, keep using it instead.

## Still stuck

If the password step fails after the app is added, see [the authentication page](/web-connector-errors/authentication-failed). If the message says the company file is open in another mode, see [the page for a company file open in a different mode](/web-connector-errors/company-file-open-in-different-mode).

Intuit's article: [https://quickbooks.intuit.com/learn-support/en-us/help-article/multi-user-mode/fix-error-qbwc1039/L2WqXx5LW_US_en_US](https://quickbooks.intuit.com/learn-support/en-us/help-article/multi-user-mode/fix-error-qbwc1039/L2WqXx5LW_US_en_US). Checked Nov 29, 2026.

## What Desktop Books does

Our .qwc file keeps the same owner and file ids every time you download it, so adding it again is safe.

- [Could not start QuickBooks (0x80040408)](/web-connector-errors/quickbooks-not-running): The Web Connector's status column says QuickBooks could not be started, or that QuickBooks is not running,...
- [Web Connector authentication failed or password not accepted](/web-connector-errors/authentication-failed): The status column says authentication failed, or the Web Connector asks for the password for this...
- [Connect a company file](/docs/connect-a-company-file): Every setup step, with what each screen says.

[Start a trial](https://desktop-app.greatwork.company/signin). 14-day trial with one company file. Read-only: nothing is ever written to your books.
