We've been having similar problems for quite some time with Citrix -- and, the solution you've mentioned (re-booting) is the only thing that helps.
For us, the problems go away for a few days (two to five, usually), and when they start occurring, they can occur just about anywhere, in any application. Once Citrix is re-booted, the problems disappear.
I'll be watching with anticipation if anybody else has found a way to conquer this problem.
Jim
>The setup is something like this:
>
>6 Citrix servers, to which users are randomly assigned at logon.
>I assume this has something to do with automatic load balancing.
>
>The app itself resides on an application server.
>
>The error occurs randomly, sometimes on one, sometimes on several Citrix servers at the time, but can, once it occurs, be consistently reproduced on said server(s) until they are rebooted.
>
>There is nothing obvious in the code, that (at least to me) would explain why.
>
>For instance READ EVENTS or
>
>IF CURSORGETPROP("SOURCETYPE") = 1 OR CURSORGETPROP("SOURCETYPE") = 2
>
>can fire the error, which in general seems to wander all over the application.
>
>Hopefully none of the above can be considered to be spectacular transgressions of any kind?
>
>Anyway, this is what happens.
>All help appreciated!
>
>Peter
Jim Nelson
Newbury Park, CA