Skip to Content
author's profile photo
Former Member

Error env:Receiver -1 Could not commit transaction Login

hi all

when trying to log in using the DI server I get the following error message

Error env:Receiver -1 Could not commit transaction Login

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

cmd = cmd & " http://schemas.xmlsoap.org/soap/envelope/"">"

cmd = cmd & "<env:Body>" & Environment.NewLine

cmd = cmd & " http://www.sap.com/SBO/DIS"">"

cmd = cmd & "<DatabaseServer>sap-1</DatabaseServer>"

cmd = cmd & "<DatabaseName>SBODemo_Us</DatabaseName>"

cmd = cmd & "<DatabaseType>dst_MSSQL</DatabaseType>"

cmd = cmd & "<DatabaseUsername>sa</DatabaseUsername>"

cmd = cmd & "<DatabasePassword></DatabasePassword>"

cmd = cmd & "<CompanyUsername>manager</CompanyUsername>manager</CompanyUsername>"

cmd = cmd & "<CompanyPassword>inecom</CompanyPassword>manager</CompanyPassword>"

cmd = cmd & "<Language>ln_English</Language>"

cmd = cmd & "<LicenseServer>localhost:30000</LicenseServer>"

cmd = cmd & "</dis:Login>"

cmd = cmd & "</env:Body>"

cmd = cmd & "</env:Envelope>"

sSOAPans = pDISnode.Interact(cmd)

thanks for ur help

jason

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Sep 03, 2007 at 08:27 AM

    Hi Jason,

    This generic error message appears in a number of different situations.

    I think the main problem with your SOAP request is that the CompanyUsername and CompanyPassword elements seem to be badly formed:

    cmd = cmd & "<CompanyUsername>manager</CompanyUsername>manager</CompanyUsername>"

    cmd = cmd & "<CompanyPassword>inecom</CompanyPassword>manager</CompanyPassword>"

    ==> As you can see, there are double closing tags for both elements.

    Other suggestions:

    - I would suggest that you omit the <LicenseServer> element completely from the SOAP request. You really only need this when the License Server is running on a different server than the B1 database. Quite often specifying the LicenseServer causes problems.

    You would also get the same error message even if you just had a wrong username or password for either the Company user or Database user. DI Server is not so user friendly when it comes to error messages.

    Henry

    Add comment
    10|10000 characters needed characters exceeded