Kbase P47124: Unable to locate record in current query error.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/31/2009 |
|
Status: Unverified
SYMPTOM(s):
Unable to locate record in current query error on Appserver.
Only happens when running ADM2 code on State-Reset and State-aware Appservers. Stateless Appservers do not exhibit the problem.
Repositioning an SDO to a record with fetchrowIdent produces the error.
FACT(s) (Environment):
Progress 9.1x
CAUSE:
The error comes from fetchrowIdent in data.p. For some reason the context saved in the SDO is becoming out of synchronization with the Appserver.
FIX:
Before performing the fetchrowident, open the query again. i.e.
DYNAMIC-FUNCTION('openQuery':U IN h_SDO).
DYNAMIC-FUNCTION('fetchRowIdent':U IN h_SDO, INPUT cRowIdent, ?).
Alternatively:
Use a Stateless Appserver where the problem does not exist.