You may receive this error:
Error: This operation failed because the QueryInterface call on the COM component for the interface. Failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D)
This error message typically displays when some of the QuickBooks DLL associations become damaged or unregistered.