cancel
Showing results for 
Search instead for 
Did you mean: 

error during sap connection

Hugue
Newcomer
0 Kudos

I'm getting the error 'Failed to create COM object `SAPbobsCOM.Company': Class not registered' when trying to connect PHP with SAP Business One 10.0 (10.00.190) FP 2202 (64-bit).

my php error line is"$mycomp = new COM("SAPbobsCOM.Company") or die("Cannot start SBO");"

Accepted Solutions (0)

Answers (2)

Answers (2)

fbio_bilicki
Active Contributor
0 Kudos

Man, what magic is this in PHP? SAP only has DLLs for the Windows environment. Where do you plan to use PHP? On some Windows environment? Linux?

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Hugue,

Kindly make sure that 64-Bit DI API is properly installed.

Also, you need to make sure that the program is referencing to the 64-Bit DI API correctly.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support