I am getting this error:
Retrieving the COM class factory for component with CLSID {6C9E80E3-B780-4361-A693-5E5C6BDC83A9} failed due to the following error: 80040154.
Dim smgrGlobal As QBSessionManager
smgrGlobal = New QBSessionManagerClass()
The 2nd line is the one that errors.
I get this error only with QB2013 and QBFC12. This does not happen with any previous versions.
I as far as I can find, this error is due to an application not being compiled for x86 (if "Any CPU" was used instead.) However I have set my application to compile for x86 NOT "Any CPU" and I am still receiving this error.
COM error 0x80040154 literally means "class not registered". The "class" being referred to is the COM class for the component that you're trying to instantiate. Here are the reasons you might get this error:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With