SQL$HELP72.HLB  —  Errors  COSI_ERRORS, WRONGSTATE
  invalid state for requested operation

  Explanation:  A software protocol error has occurred.  The error
  might be a value specified for a system function that is not
  valid at this time or a function that cannot be used at this
  time.  For example, the error could be an attempt to read from
  an I/O channel that is closed.  The identical read call would be
  valid after the channel was open.

  User Action:  Determine the system call that returned the error.
  Verify that the service is being called correctly.
Close Help