Previous Topic Next topic Print topic


X383: Sequence error for reason code (ReasonCode) Message.

The XDB Server has received a request out of order.

If ReasonCode/Message is... The problem is that...
(1) Performed connection operation while not logged in. The XDB Server received a database request from a client program that has not yet connected or has already disconnected from the database. Often this problem is caused by faulty logic in a user program.

Check the code in your program to ensure that all connect/disconnect sequences occur in the correct order. For example...

  • Make sure that your program checks for SQLConnect failures, and that it doesn't continue to issue requests to the server when a connection failure occurs.
  • If it is a JDBC program, check that it does not call any other method in the connection class after calling the close( ) method. close( ) must be the last method called by a database transaction.
  • If it is an ODBC program, check that it does not use a connection handle before it calls SQLConnect( ) or after it calls SQLDisconnect( ).
Previous Topic Next topic Print topic