cancel
Showing results for 
Search instead for 
Did you mean: 

DI API 90 in a custom .net application - Failed to connect SLD

former_member313153
Discoverer

I am using DI API 90 in a custom .net application to post into Journal Entries. However, when I try to connect to the company using oCompany.Connect() I am getting the following error:

Failed to connect SLD, make sure SLD server is correct and available-4009

A couple of notes:

- We have 2 servers: an Application Server and a DB Server

- The code to run is on the DB server whilst the license server is on the app server

- I have changed the entries in the b1-local-machine and b1-local-machine-template from localhost to the app server name in both App and DB servers

- Similar code works on the application server but does not run on the DB server

- The code on the DB server is triggered from an SQL stored procedure

- The code on the DB server works correctly when debugging using Visual Studio 2017 but not when triggered from the SQL SP (which is run using sa)

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Kris,

By any chance did you solve this issue?