Skip to Content
avatar image
Former Member

DI Server Error 8037

Hi,

I am trying to login with DI SERVER according documentation. I am development DOT.NET Windows Forms in Visual Studio 2015.

Tested with DI API and is working perfectly.

Why this DI Server is not working?

Error: Failed to connect or logon to SLD, please check connection parameters and configure file.

Response Interact:

<?xml version=\"1.0\"?><env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value><env:Subcode><env:Value>-8037</env:Value></env:Subcode></env:Code><env:Reason><env:Text xml:lang=\"en\">Failed to connect or logon to SLD, please check connection parameters and configure file</env:Text></env:Reason><env:Detail><Command>Login</Command></env:Detail></env:Fault></env:Body></env:Envelope>

Code:

SBODI_Server.Node node = new SBODI_Server.Node();
            string xml = "", msg = "";
            xml += @"<?xml version=""1.0"" encoding=""UTF-16""?>";
            xml += @"<env:Envelope xmlns:env=""http://schemas.xmlsoap.org/soap/envelope/"">";
            xml += @"<env:Body><dis:Login xmlns:dis=""http://www.sap.com/SBO/DIS"">";
            //xml += "<DatabaseServer>xxx</DatabaseServer>";
            xml += "<DatabaseServer>xxx</DatabaseServer>";
            xml += "<DatabaseName>xxx</DatabaseName>";
            xml += "<DatabaseType>dst_MSSQL2014</DatabaseType>";
            xml += "<DatabaseUsername>sa</DatabaseUsername>";
            xml += "<DatabasePassword>xxx</DatabasePassword>";
            xml += "<CompanyUsername>manager</CompanyUsername>";
            xml += "<CompanyPassword>xxx</CompanyPassword>";
            xml += "<Language>ln_English</Language>";//3
            xml += "<LicenseServer>xxx</LicenseServer>";
            xml += "</dis:Login></env:Body></env:Envelope>";
            msg = node.Interact(xml);

Note:

service SAP Business One DI Server running
service SAP Business One License Manager running

DI API working

Encryption Key Management: You are currently using a Static Key

Version SAP: 9.2 PL 06

Development in DOT.NET Windows Forms

I will grateful by answers.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers