Skip to Content
0

Trying to connect to Business One with DI API C#

Aug 04, 2017 at 09:43 AM

61

avatar image

Hello, I'm getting an error message on this line : oCompany = new SAPbobsCOM.Company();

The erro message :

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

Erreur source:


Ligne 61 :         public string Connexion()
Ligne 62 :         {
Ligne 63 :             oCompany = new SAPbobsCOM.Company();
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

ANKIT CHAUHAN
Aug 04, 2017 at 09:50 AM
0

Hi,

Make sure that the add-on platform is set as per the DI API installation. If you are using 64-Bit DI API, select Add-on Platform as "X64". If you are using 32-Bit DI API, select Add-on Platform as "X86".

Hope it helps!

Kind regards,

ANKIT CHAUHAN

SAP SME Support

Share
10 |10000 characters needed characters left characters exceeded