Consultor Eletrônico



Kbase P11919: AMD2/Dynamics : why 'ADM-ERROR' error message?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/08/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

"ADM-ERROR"

Saving record

CAUSE:

Error handling problem in Application Business Logic.

RUN  IN invalidHandle without NO-ERROR option during the validation process (*TransactionValidate procedures) of a SDO (or Dynamics Data Logic Procedure).  Same problem can occur with DYNAMIC-FUNCTION( IN invalidHandle) without NO-ERROR.

Therefore the ADM2 catches the 4GL ERROR condition (thanks to a DO ON ERROR UNDO, RETURN "ADM-ERROR" block) then returns just "ADM-ERROR" without more detail, which is relayed step by step to the client.

FIX:

Check the validation procedures flow to find potential invalid handle.
You might also Prospy Plus or Debugger to identify the first procedure that returns "ADM-ERROR".