Skip to Content

Business One 10 PL2 DIAPI 9.0 Windows 10

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 27, 2020 at 07:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • Posted on Jul 27, 2020 at 02:48 PM

    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


    einstiegspunkt.png (16.0 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.