Skip to Content
0
Former Member
Aug 03, 2007 at 02:31 PM

DI Server Error

26 Views

I’m sending the following XML to the DI Server. I’ve tried it from both my local machine and the remote machine where the DI Server and the License Manager are. I’ve triple-checked all of the values to make sure that they are correct. I can connect through the DI API using these values.

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

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

<env:Body>

http://www.sap.com/SBO/DIS">

<DatabaseServer>$IP_ADDRESS$</DatabaseServer>

<DatabaseName>SBODemo_US</DatabaseName>

<DatabaseType>dst_MSSQL</DatabaseType>

<DatabaseUsername>sa</DatabaseUsername>

<DatabasePassword>$SA_PASSWORD$</DatabasePassword>

<CompanyUsername>manager</CompanyUsername>

<CompanyPassword>manager</CompanyPassword>

<Language>InEnglish</Language>

<LicenseServer>$IP_ADDRESS$:30000</LicenseServer>

</dis:Login>

</env:Body>

</env:Envelope>

I get the following in return:

<?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:Reason>

<env:Text xml:lang="en">Could not commit transaction</env:Text>

</env:Reason>

<env:Detail>

<Command>Login</Command>

</env:Detail>

</env:Fault></env:Body>

</env:Envelope>

We have tried the following:

/people/sap.user72/blog/2006/05/29/getting-started-with-di-server

System.Runtime.InteropServices.COMException: The server threw an exception.

DI Server: 'Could not commit transaction' when logging in

We have also tried to setup the sample code. It does not work.

Any suggestions?