Skip to Content

SAPBusinessOneSDK.dll

Hi All,
I am on SBO 92.PL7. HANA
When reference to SAPbobsCOM, I can run these statements :
SAPbobsCOM.RecordsetEx oRS = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordsetEx) as SAPbobsCOM.RecordsetEx

And Also

oCompany.SLDServer = "https:address:40000";

But when I change the reference to SAPBusinessOneSDK.dll, both statement will throw error mentioning that they are not implemented.

Can anyone comment?
I guess the error is correct, and the objects are not implemented in the dll?


Regards
Edy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 22, 2017 at 04:17 AM

    Just to document the solution here.

    It is caused by upgrading from the previous version.
    When doing upgrade, the SAPBusinessOneSDK.dll in the GAC is not upgraded, maybe because it was still referenced by other SAP component.
    I resolved this by clean uninstalling all the DI API 32, DI API64, SDK, Client 32, Client 64 first.
    And make sure the DLL is not in the C:\Windows\Microsoft.NET\assembly\GAC_MSIL\SAPBusinessOneSDK

    Then re-install all the component.

    This solved my problem, but i am thinking of another problem when upgrading clients.
    We cannot use the automatic silent upgrade from SAP, as we will need to uninstall all the component first.



    Hope it helps.
    Edy

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Michael,

      I suppose it will be the same thing on clients.
      I managed to catch this before it hit my clients and have instructed the implementation team to clean remove the SBO Client + DI API on PCs before upgrading.
      I have not encounter any problem so far.

      Regards
      Edy

  • May 18, 2017 at 04:57 AM

    Hi Edy,

    Please allow me some time to have a look on this issue. I will get back to you very soon for this issue.

    Kind regards,

    ANKIT CHAUHAN

    SAP SME Support

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Maik,
      Thanks for your test.
      Hi Ankit,
      I traced the problem to the file registered in GAC
      C:\Windows\Microsoft.NET\assembly\GAC_MSIL\SAPBusinessOneSDK\v4.0_1.0.0.1__c7c3cb60e45d119f
      Strangely enough the file in the GAC is of older version and looking under iLspy, there is no property of SLDServer.
      as can be seen here

      Is there a problem with the upgrade wizard that does not successfully upgrade the DLL in the GAC?

      Regards
      Edy

      capture.jpg (95.7 kB)