I am running a windows service on a x64 and I have added references SAP Business One DI API Version 9.0 and SAP Business One UI API Version 9.0 to my visual studio solution
I am getting error on
Dim oCompany As SAPbobsCOM.Company
Retrieving the COM class factory for component with CLSID {632F4591-AA62-4219-8FB6-22BCF5F60090} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
How do I solve this error?