Two Web Connector entries on different company files both run when QuickBooks has no company open or is closed altogether, each file opened in turn; with one file open in QuickBooks, the other entry gets connectionError 0x8004040A and its request stays retryable
Observed 2026-11-11 on QuickBooks Enterprise Solutions 24.0 (US), Web Connector 34.0.10010.76, reporting qbXML 17.0.
Two Web Connector entries that name different company files both run when QuickBooks is running with no company open, and when QuickBooks is closed altogether. The Web Connector opens each entry's file for its session in turn, and each answer comes from its own file. With one of the files open in QuickBooks, the other entry is refused: three seconds after authenticate, the Web Connector calls connectionError with hresult 0x8004040A and this message:
A QuickBooks company data file is already open and it is different from the one requested or there are multiple company files open.
No request reaches QuickBooks. The Web Connector's qbsdklog.txt shows the request processor comparing the open file's path with the requested one as it opens the connection, logging that the currently open company file doesn't match the requested company file, and then noting that CloseConnection has not been called.
The refusal repeats on every run while the other file stays open. Once the file was closed in QuickBooks and it was back on "No Company Open", the entry's next run went through and the same request answered status 0. With QuickBooks closed altogether, the Web Connector started it, opened the first entry's file, and had the second entry's file open within 39 seconds of the first answer; those sessions took 10 to 25 seconds longer than with QuickBooks already running.
What to do
Treat 0x8004040A as temporary: keep the request and send it again on a later session, and it succeeds once the other file is closed. If a user keeps several company files on one computer, tell them each entry can run as long as no company file is left open in QuickBooks, either on "No Company Open" or with QuickBooks exited.
Not observed
- Two company files open at once in Enterprise, which the message mentions.
- A file open in multi-user mode on another computer.
- What QuickBooks showed on screen during the unattended sessions, and whether it closed again afterwards.
Error codes on this page
QuBe Sync is a JSON API for QuickBooks Desktop that is built on what these findings show.