cancel
Showing results for 
Search instead for 
Did you mean: 

Business One 10 PL2 DIAPI 9.0 Windows 10

marc_ottmueller
Explorer
0 Kudos

Hi,

i have an Problem Installing diapi's on W10 from Business One 10PL2 DIAPI Setup.
After installation of the DIAPI it seems that all DIAPI are registered as COM Objects.
But if i look into the COM objects with VS2019 or OleViewer only 8.9 and 10 are registered.
Is there a known problem with this? Thank you for your help.

Kind regards
Marc

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear marc.ottmueller,

Could you please explain in details what problem you are facing because of this?

You can register the 9.0 DLL manually also, if you need it.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

Accepted Solutions (0)

Answers (2)

Answers (2)

marc_ottmueller
Explorer
0 Kudos

Dear Ankit Chauhan,

thank you for your answer. I registrered the dll by myself.
Now i can take a reference to it. After compiling a small vb example for connection to BusinessOne thrue DIAPI 9.0 i get the following error.

If i reference to diapi 10 inside of the project with the same code it works.
Do you have any idea why this happens?

Thank you for your answer.

Kind regards

marc

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear marc.ottmueller,

We are already aware about this issue in SAP Business One Version 10.0 and our Development Team is actively working for a solution for the same.

The add-ons which are having an older version of SAPbobsCOM DLL, will be having this issue while making the DI company connection in SAP Business One Version 10.0. The current possible workaround is to recompile your add-on with 10.0 SAPbobsCOM reference.

If you would like to follow-up, please raise an incident for SAP Business One Support Team under the component SBO-SDK-DI.

Otherwise, I will inform you once I will be having any information about the same.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

marc_ottmueller
Explorer
0 Kudos

Dear Ankit Chauhan,

we need the 9.0 DIAPI for an older AddOn in BusinessOne 10.
Normaly the setup should register the dll. I was just wondering why it don't work for 9.0.
Is there a special reason? Maybe it is an error bug inside of the setup?

Kind regards
Marc

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear marc.ottmueller,

There can be a reason for this. Some Security related enhancements were delivered in SAP Business One Version 10.0. For example: SBOCOMMON Database access for DI API.

There is different behavior & implementation mechanism for SBO-COMMON DI API Access between SAP Business One Version 9.3 & SAP Business One Version 10.0.

It can be the reason that the Setup contains the older version of DI API however it does not register it intentionally. You can register it manually using the following command in Command prompt: (Please run the Command Prompt as Administrator)

regsvr32 "C:\Program Files\sap\SAP Business One DI API\DI API 90\SAPbobsCOM90.dll"

Kind regards,

ANKIT CHAUHAN

SAP Business One Support