Skip to Content
avatar image
Former Member

DI API Connection on demand - Internal error (-8037)

Hi,

I'm trying to establish a DI connection using the GetDICompany() method but I'm always having an internal error. I'm using the same code in an on premise environment and it's working fine.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 02, 2015 at 09:50 AM

    Hi Christion,

    Try removing the folder sm_obs_dll in %temp% for that specific user (or in c:\windows\temp for a service).

    and if that doesn't work, reinstall the di-api.

    Regards

    Ad

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Already done that and I'm still getting the same error. I'm not sure if it's a limitation of SAP On-Demand because everything works fine on on-premise.

      Regards,

      Xtian

  • avatar image
    Former Member
    Jan 29, 2016 at 07:27 PM

    Hi,

    I was using DI API 8.82 in my project. I have migrate the project to DI API 9.0 and I have encountered the same problem (error -8037) when i try to connect  to SAP.

    I have resolved setting the property Server of the Company object with the "windows name" of the server:

    DI 8.82:     myCompany.Server = "(local)" or myCompany.Server = "192.168.0.12"

    DI 9.00:     myCompany.Server = "SERVERNAME"

    Regards,

    Giuliano.

    Add comment
    10|10000 characters needed characters exceeded