on 06-24-2016 10:35 AM
Dear all,
when I retrieve datawindow in client PC. I always get this error as below. But the strange thing is some user got this error and the others works well.
So I don't understand what wrong with them. And I install sybase client 12.5.4 on every client PC to connect sybase. Thanks in advance
Sybase 12.5.4
If this is a call to a stored procedure you could try fetching the result set until there is no more data to retrieve, even if you were expecting to retrieve just one row.
I also remember having to place a "select 'hello'" statement at the end of the procedure when the procedure just performed actions on the database and no result set was needed hence expected to be returned from the database. I believe this applied to Sybase ASE only, not MS SQL Server.
Maybe an an open uncommitted transaction could be causing the problem too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is possible that the datawindow retrieve occassionally is in error and the error message is not promoted. An example would be that a subselect has more than one row returned. This error would not necessarily happen all the time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ice;
This message is typically received when a data communication error occurs duringing a DML operation between your PB application & the DBMS. The ct_send() method also typically denotes that you are using a native client connection mechanism.
Can you tell us more about your DBMS, its version & how you are connecting to it.
Regards... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ice;
The PB database client has nothing to do with this area of communication. It only acts as an interface to the real DB client that you installed from SS. It's the Microsoft layer that issues the ct_send error - not PB's.
What is the value that you set in your Transaction Object for the DB client? That is ...
SQLCA.DBMS = "????"
Regards ... Chris
PS: PB v12.0 had a lot of issues. I would strongly recommend moving to v12.1 build 6518.
The issue now is trying to help you with this with application and DB software which is now EOL'ed. I can't even suggest adding a TRY..CATCH around the DB code as the TRY..CATCH feature was not added to PB until version 8.0.
I think that your only hope now is that this issue is because there really is another result set (or partially non-retrieved set) pending when the ct_send() error is occurring. This could be because of a work flow sequence in your application that is not often used by other users. If this is the case, then checking your logical DB transaction processing & remembering to issue a DBCancel(), Rollack and/or Commit at the end of the transaction processing will be the key to removing the pending result set before another DML request is to be sent to the DBMS.
Good luck!
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.