Consultor Eletrônico



Kbase 19060: error 4450 when doing a LOAD and not having admin rights
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/08/1999
error 4450 when doing a LOAD and not having admin rights


INTRODUCTION: when running a simple program doing a LOAD of the
registry, the this works, however if the user running this does NOT
have admin rights then customer gets this error:
The LOAD of <key-value file> failed. (4450)


WHY YOU NEED TO KNOW THIS: You have hit a bug, with a possible
workaround. This an issue both with V8 & 9.


PROCEDURAL APPROACH: The abowe mentioned happens when running a code
like this:
DEFINE VARIABLE c$client-os AS CHARACTER NO-UNDO.

LOAD "software\microsoft\windows nt" BASE-KEY "HKEY_LOCAL_MACHINE"
NO-ERROR.

USE "software\microsoft\windows nt" NO-ERROR.

GET-KEY-VALUE SECTION "currentversion" KEY "currentversion" VALUE c$cl
ient-os.

UNLOAD "software\microsoft\windows nt" NO-ERROR.

message c$client-os title "WIN NT Version" view-as alert-box


WORKAROUND: Is to remove the BASE-KEY.

P.S: On win 95 this will return a "?".


pje 24.08.99