Consultor Eletrônico



Kbase P82045: How to work around a PUT-KEY-VALUE failed. (4454) error.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   27/05/2004
Status: Unverified

GOAL:

How to work around a PUT-KEY-VALUE failed. (4454) error.

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000

FACT(s) (Environment):

Progress 9.x

FIX:

You can work around any network or registry access problem
by using the no-error option and doing an error handling afterward as
with the example code below:

PUT-KEY-VALUE SECTION "MYSECTION" KEY "MYKEY" VALUE MYVARIABLE NO-ERROR.
IF ERROR-STATUS:ERROR THEN do:
OUTPUT TO "test_log.txt" .
PUT UNFORMATTED "PUT-KEY-VALUE failed ... exiting" .
OUTPUT CLOSE.
STOP.
QUIT.
END.