Skip to Content

Problem connected to DI Server to ver.2005 after upgrade

Hello , I need help!

I have problem to connect to di server 2005

use .net framework v2.0.50727

code:

SBODI_Server.NodeClass sapdi = GetDiObject();

string sCmd = "";

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

sCmd += @" http://schemas.xmlsoap.org/soap/envelope/"">";

sCmd += @" http://www.sap.com/SBO/DIS"">";

sCmd += "<DatabaseServer>lod-sap</DatabaseServer>";

sCmd += "<DatabaseName>DEMO</DatabaseName>";

sCmd += "<DatabaseType>dst_MSSQL</DatabaseType>";

sCmd += "<DatabaseUsername>sa</DatabaseUsername>";

sCmd += "<DatabasePassword></DatabasePassword>";

sCmd += "<CompanyUsername>manager</CompanyUsername>";

sCmd += "<CompanyPassword>manager</CompanyPassword>";

sCmd += "<Language>ln_English</Language>";

sCmd += "<LicenseServer>lod-sap</LicenseServer>";

sCmd += "</dis:Login></env:Body></env:Envelope>";

string sSOAPans = "";

sSOAPans = DISnode.Interact( sCmd );

I response "Could not commit transaction"

XML:

<?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"><b>Could not commit transaction</b></env:Text>

</env:Reason>

- <env:Detail>

<Command>Login</Command>

</env:Detail>

</env:Fault>

</env:Body>

</env:Envelope>

thx

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on Apr 16, 2007 at 03:14 PM

    Hi Nimrod,

    LicenseServer should be something like "ServerName:portNumber" and in your code I can only see the server name.

    You can have obtain the port number from the LicenseManager -> Settings -> Connection information (from Server Tools -> Server Manager, same tool you use to stop/start DI Server).

    Have you tried to run the sample provided with the SDK, maybe it can help.

    Hope it helps

    Trinidad.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Tried the sample, tried a lot of threads options throughout the forum and still struggling with this "Could not commit transaction..."

      Hope I will succeed. I'm not someone that let down so easily 😊