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.