When Zed Axis attempts to connect to QuickBooks but is unable to establish a connection, it may be caused by a corrupt, unregistered or unsupported QuickBooks interface, to refresh the interface follow the steps below:
- Back up and safely store your QuickBooks company file
- Search for the file Reboot.bat (found in C:\Program Files\Intuit\QuickBooks) and run that file As Administrator (mouse over file and right click to select As Administrator)
- Reboot your PC and try to connect.
Troubleshooting specific QuickBooks Error messages:
Error: After upgrading QuickBooks Axis is no longer able to connect
After upgrading Axis cannot connect to QuickBooks. Please try these steps:
- Open QuickBooks and selected the menu Company > Preferences > Integrated Applications
- In the list of integrated application select Axis and delete it from the list.
- Close QuickBooks and reboot your PC
- Open QuickBooks and login as Admin and then open Axis and try to connect.
Error: QuickBooks already has a company file open. If you want to open another company file, close this one first.
Zed Axis can only connect to one company file at a time. If you have more than one company file open then you will need to close those you do not want to connect to and try again. If you do not appear to have more than one company file open it could be that there is another instance of QuickBooks open or crashed in the background. Try the following steps:
- Close Zed Axis and QuickBooks
- Use the Windows Task Manager to close all QuickBooks processes
- Make sure that you have not got the Keep QuickBooks running for quick startups option checked in the QuickBooks Preferences > Company settings,
- Reboot your physical machine and restart QuickBooks, Zed Axis and try and connect again.
Error: QuickBooks can't start because it is already running.
When Zed Axis tries to connect to QuickBooks it is unable to find a running instance of QuickBooks, and a new instance is started. This error generally occurs when by default QuickBooks has been configured to Run As Administrator, and Zed Axis is running at a non elevated mode. In order to make a successful connection both Axis and QuickBooks must be running at the same level ie As Administrator or in Non-elevated mode. By default Zed Axis runs in Non-elevated mode so in order to run in Administrator mode please follow these steps:
- Close Zed Axis and QuickBooks
- Use the Windows Task Manager to close all QuickBooks processes
- Open QuickBooks using the desktop icon
- Browse to the Zed Axis.exe file that you can find in the folder C:\Program Files (x86)\Zed\Axis 16.0
- Right click on the Zed Axis.exe file and select the option to Run As Administrator
- Once Axis is open then retry connecting to QuickBooks
Error: If the QuickBooks company data file is not open, a call to the "BeginSession" method must include the name of the data file.
When attempting to connect a second copy of QuickBooks is opened and the above error message is displayed. Please check the QuickBooks preferences ,Edit > Preferences > General > My Preferences and make sure that the option to Keep QuickBooks running for quick startups is not selected
Error: qbXML components have not been installed.
This error indicates that the interface files that QuickBooks desktop uses to allow apps to connect are damaged or have been deleted. Try updating your copy of QuickBooks desktop and then restart QuickBooks and retry the connection. If the problem persists then try renaming the QuickBooks .TLG files that you can find C:\Users\Public\Public Documents\Intuit\QuickBooks\Company Files\ then restart QuickBooks and retry the connection.
Troubleshooting Specific QuickBooks Error codes:
QuickBooks keeps a log of connections in this file C:\ProgramData\Intuit\QuickBooks\qbsdklog.txt you will find more details on the cause of the error here. Once you have the code then the following steps can be investigated:
0x80040404 - indicates that the version of QuickBooks currently running does not support 3rd party applications connecting to it, please confirm that you meet the Zed Axis System Requirements
0x80040409 - indicates that the version of QuickBooks currently running cannot work with the provided data file
0x8004040A - indicates that the data file already open is different from the requested one.
0x80040154 & 0x800401f3- indicates a permission error to access QuickBooks via an application
0x8004041c & 0x800401f3 - If you are running 64bit windows then please try with UAC switched off (a reboot will be required to take affect)qbXML components have not been installed - please follow
these instructions provided by Intuit. Also when connecting to your QuickBooks company file can you please use the network path instead of a mapped drive.
Other possible causes:
- Permissions on the folder that contains your QuickBooks company file - In some instances the folder that holds your QuickBooks company file may not have sufficient permission. Please ensure it has Full Access, right click on the folder and select Properties > Security and select Full control
- Running the QuickBooks application as Administrator - If you have run QuickBooks with elevated permissions (ie with the shield) then Axis will not be able to connect to QuickBooks, please close QuickBooks and run at a non elevated mode and try and connect.
- Running multiple releases of QuickBooks on one machine - If you are running multiple releases of QuickBooks on the same machine ie (2008 & 2009, or Canada and UK) then you may have installed an older version after the latest release, if you have you will need to follow the instructions on this article to resolve this issue.
- Mapped drives - If you have mapped a drive to the location of your QuickBooks company file, please retry opening the company file with the Full path.
Older versions of QuickBooks
If you are using an older version of QuickBooks, then you may not be able to connect to QuickBooks. To correct this issue follow these steps (Intuit Support have an alternative approach listed in
here):
- Login to QuickBooks and your company file as Administrator in single user mode
- Select the company preferences Edit > Preferences > Integrated Applications > Company Preferences
- For each application listed we are going to uncheck the ability to login automatically:
- Highlight the application and click the Properties tab
- Un-check the box which says "Allow this application to login automatically".
- Restart QuickBooks and reset the login automatically mode and a user with sufficient permissions
- Login again as Administrator in single user mode
- Select the company preferences Edit > Preferences > Integrated Applications > Company Preferences
- For each application listed:
- Highlight the application and click the Properties tab
- Check the box which says "Allow this application to login automatically" and select a user with admin permissions
- Restart QuickBooks.