cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

AdKerremans
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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