Knowledgebase
[QODBC-Desktop] Begin Session Failed Error=80040154 - Create QuickBooks COM instance Error=80040154 or Class not found
Posted by Juliet (QODBC Support) on 01 March 2010 03:23 AM

Troubleshooting: Begin Session Failed Error=80040154 - Create QuickBooks COM instance Error=80040154 or Class not found

Problem Description.

     Suppose you receive an 80040154 error like the one below when connecting to QuickBooks. In that case, something may have undone your QuickBooks COM registrations (like installing a previous version of QuickBooks or other software).

Solutions

It would help if you had QuickBooks installed on the machine on which QODBC is installed.

If you already have installed QuickBooks and are still facing the issue, please reinstall QuickBooks.

Restart your machine after QuickBooks is installed.
Start QuickBooks and update to the latest release.
Test connection using QODBC Support Wizard - http://qodbc.com/links/2981

 

 
If you are still facing the 'Create QuickBooks COM instance Error=80040154' or 'Class not found' error, the following could be possible causes.
 
1) You are using QuickBooks 2021 or a lower version with a 64-Bit application.
- You need to use QRemote DSN instead of QODBC DSN.
 
2) You are using QuickBooks 2022 or newer
- You need to reinstall QuickBooks and install the latest version of QODBC.

 

Details:

The Error "Create QuickBooks COM instance Error=80040154" means either QuickBooks is not installed on your machine or there is some issue with your QuickBooks.
Please install QuickBooks. If you are still facing issues, please re-install QuickBooks.

The "QuickBooks Data" DSN listed when using 64-Bit applications such as (MS Access or Excel) can be used only when QuickBooks 2022 or newer is installed.

You might be using QuickBooks 2021 or a lower version with a 64-Bit application. If so, please use "QuickBooks Data 64-Bit QRemote".

Please use "QuickBooks Data" DSN - when using QuickBooks 2021 and older with MS Office 32-Bit (or any 32-Bit application),
Please use "QuickBooks Data 64-Bit QRemote" DSN - when using QuickBooks 2021 and older with MS Office 64-Bit (or any 64-Bit application),

Please use "QuickBooks Data" DSN - when using QuickBooks 2022 or newer with MS Office 32-Bit (or any 32-Bit application),
Please use "QuickBooks Data" DSN. - when using QuickBooks 2022 or newer with MS Office 64-Bit (or any 64-Bit application),

QuickBooks 2021 and below are 32-bit applications and do not support a direct 64-bit connection.
So, you cannot use "QuickBooks Data" of type 64-bit.

You must either use "QuickBooks Data 64-Bit QRemote" or install MS Office 32-Bit.

Please refer to the following:
https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/3000
 
If you are still facing the issue, please raise a support ticket - https://support.flexquarters.com/esupport/index.php?/Tickets/Submit
 


For QuickBooks 2011 or older versions:  If the above solution does not resolve the issue you are facing, then please refer to the following: 

Please uninstall the current version of QuickBooks and re-install QuickBooks.

This should fix the issue.

If you still face the issue, you may try the following solution.

     You can download registerall.zip.  (For QuickBooks 2011 or older version). Extract the zip file & run RegisterAllQBDLL.exe.

Right-click on RegisterAllQBDLL.exe & click "Run as administrator."

 

Please click on yes to run exe.

Please click on RegisterDLL.

 

It will take some time to run. After completion of the run, you will get a popup message. Please click on the OK button to close the message box.

 

By running the RegisterAllQBDLL.exe contained in the zip file. This will re-register all the COM.DLLs in the QuickBooks directory for you. Once that's done, retry connecting.

     If that doesn't work, you can try running the "reboot.bat" file in file in the C:\Program Files\Intuit\QuickBooks Premier folder. Just locate the file in Windows Explorer and double-click on it to execute it. This will reset all the QuickBooks COM objects.

     Finally, if that doesn't help, try re-installing QuickBooks. This should have even the most difficult installations going.

     Note: For more about the connection to QuickBooks, please see: How to Connect to QuickBooks for the First Time


 

(210 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please complete the captcha below (we use this to prevent automated submissions).