Skip to main content
Important Announcements:

Please note: Our software products ONLY work with QuickBooks DESKTOP. NOT COMPATIBLE WITH QUICKBOOKS ONLINE, QUICKBOOKS MAC, or RIGHT NETWORKS HOSTING.

8/18/23 - The software that our website is built on underwent a major upgrade.  As with many upgrades, things break!  We're still working diligently to correct the problems, but this is a HUGE website with almost 23 years of information.  We appreciate your patience.  

8004040A - A QuickBooks company data file is already open

Last Updated: 10 February 2013
Share this!
Pin It

8004040A - A QuickBooks company data file is already open and is different from the one requested.

Resolving Error Code 8004040a

Only one QuickBooks file can be accessed at a time per PC.  Switch back to QuickBooks, close the company file, open the proper file, and then try again.

Make sure you have the correct QuickBooks file specified.  All third party applications need to know which QuickBooks file it's supposed to be working with.  Perhaps you initially created a test file to experiment with, or you have recently upgraded to a new version of QuickBooks, or someone has moved your company data file.

For Certified Payroll Solution - Open QuickBooks with the correct data file and from the Certified Payroll Solution System Setup Menu, choose System Preferences and the Data Locations Tab.  Delete all of the information in the white box below where it says "QuickBooks File"; click OK; and try again.  Making the QuickBooks File location "blank" tells CPS to work with the open company file.

For Construction Application for Payment Solution - Open QuickBooks with the correct data file and from the Construction Application for Payment Solution System Setup Menu, choose Data Locations.  Delete all of the information in the white box next to where it says "QuickBooks File"; click OK, and try again.  Making the QuickBooks File location "blank" tells CAPS to work with the open company file.

For Wage Manager Solution - Open QuickBooks with the correct data file and click the button titled "Use Open QuickBooks File."

For Crew Overtime Entry Solution - Open QuickBooks with the correct data file.  Start Crew Overtime -> click the Overtime Setup button -> click QuickBooks Setup ->  REMOVE/DELETE the QuickBooks file location -> click the Acquire data from QuickBooks for Setup & Preferences button.

NOTE:  This procedure MUST be completed on each computer that has the above specified software program installed.

If you do not own our software and are receiving this error message, the resolutions above MIGHT help you to diagnose and correct the error.  However, it is best if you contact the 3rd party developer who wrote your QuickBooks add-on for program specific instructions.