Subject | Re: [IBO] Cursor unknown error -504 |
---|---|
Author | Helen Borrie |
Post date | 2004-08-08T11:23:32Z |
At 08:55 AM 8/08/2004 +0000, you wrote:
asks to fetch a row from an open cursor and the client has either lost the
cursor or was unable to obtain it. The client manages open cursors by way
of the cursor handle it assigns when the cursor is first opened. (We are
talking about server-side set cursors here, not IBO's ib_cursor component.)
In your conditions, it looks like the former case: the application had the
handle but the connection timed out and the handle assignment was gone when
the application tried to refer to it. Do you know whether the user
reporting the error was able to go on and do something else?
Do we have an XP box involved here? What network protocol is being
used? If it's TCP/IP, is the server subject to being randomly assigned a
dynamic IP address during idle time? etc. etc.
more to point you there....
Helen
>Thanks Helen.Why I asked about the conditions is that this error occurs when the app
>
>The problem seems to happen when you return to the application after
>switching to another task or if the application has been idle for a
>period of time. The error message is sitting there when the screen
>appears. And it happens on stand alone machines as well as when
>using a server. I have never seen it happen when actively using the
>application.
asks to fetch a row from an open cursor and the client has either lost the
cursor or was unable to obtain it. The client manages open cursors by way
of the cursor handle it assigns when the cursor is first opened. (We are
talking about server-side set cursors here, not IBO's ib_cursor component.)
In your conditions, it looks like the former case: the application had the
handle but the connection timed out and the handle assignment was gone when
the application tried to refer to it. Do you know whether the user
reporting the error was able to go on and do something else?
Do we have an XP box involved here? What network protocol is being
used? If it's TCP/IP, is the server subject to being randomly assigned a
dynamic IP address during idle time? etc. etc.
>The app has a timer that refreshes the data displayed in a gridSo are you saying the error is *also* likely to occur during active usage?
>every minute in case someone adds a new record but this doesn't seem
>to be the cause. I put a try - except around the refresh but it
>doesn't trap the error.
>If I knew what the error message means it might point me in theIf I understood what the error conditions really were I might be able to do
>right direction.
more to point you there....
Helen