Skip to Content
author's profile photo Former Member
Former Member

DI Server - problems logging in

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" ?>

http://schemas.xmlsoap.org/soap/envelope/">

<env:Body>

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" ?>

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 11, 2005 at 09:07 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.