cancel
Showing results for 
Search instead for 
Did you mean: 

DI Server - problems logging in

Former Member
0 Kudos

Hi all,

I am trying to use the DI Server API to connect to SBO, and have been failing miserably!

When I attempt to login I receive a fault code of -1 with the description of <Command>Login</Command>. I know that the DI Server COM object is being hit and that its trying to do something, if I change the request to be junk or have some junk parameters then I do get a sensible fault code.

Anyway the login request is as follows:

<?xml version="1.0" encoding="UTF-16" ?>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

<env:Body>

<dis:Login xmlns:dis="http://www.sap.com/SBO/DIS">

<DatabaseServer>localhost</DatabaseServer>

<DatabaseName>SBODemo_US</DatabaseName>

<DatabaseType>dst_MSSQL</DatabaseType>

<DatabaseUsername>sa</DatabaseUsername>

<DatabasePassword></DatabasePassword>

<CompanyUsername>manager</CompanyUsername>

<CompanyPassword>manager</CompanyPassword>

<Language>ln_English</Language>

<LicenseServer>ILTLVH25</LicenseServer>

</dis:Login>

</env:Body>

</env:Envelope>

The response is as follows:

<?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>-1</env:Value>

</env:Subcode>

</env:Code>

<env:Detail>

<Command>Login</Command>

</env:Detail>

</env:Fault>

</env:Body>

</env:Envelope>

I tried to connect using the DI API, this failed with an error message of observer.dll init failure. After speaking to someone they said attempting to connect using 6.7 DI API to a 6.5 SBO installation would cause a problem, I uninstalled the 6.7 DI API and installed 6.5 and know it works fine. However I am still having the same problem with the DI Server API, does anyone know the correct version of the DI API that is needed for the DI Server API?

Any ideas? TIA.

Regards

Darren.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185703
Active Contributor
0 Kudos

Hi Darren,

a) DI API is not needed for DI Server to run or be used.

b) You cannot run 2004 DI (DI API or DI Server) with your 6.5 database. You will have to upgrade it to 2004.

c) Are you sure that YOUR license server is ILTLVH25?

(This is 100% likely not to be the case...)

You might want to checkout the new license mechanism in the PDF (on the 185.05 CD it is named "Licensing.pdf") shipped with SAP Business One to understand better what this is about.

If you have a local installation of SAP Business One installed, 127.0.0.1 / localhost will do the trick.

HTH,

Frank

Answers (0)