Consultor Eletrônico



Kbase P160508: Getting error 477 when compiling code and saving it into a specific directory.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/22/2010
Status: Unverified

SYMPTOM(s):

Getting error 477 when compiling code and saving it into a specific directory.

Unable to create r-code file "<path-name>". (477)

Compiled code is trying to be saved in the wrong directory.

Application compiler is trying to save the code into the source directory instead of into the save as directory.

FACT(s) (Environment):

Windows
x86 (Intel 32-bit)
OpenEdge 10.1C

CAUSE:

The PROPATH contains directory entries that are part of the source code path name. If any part of the source file directory structure is in the PROPATH, the compiler will strip those directories from the structure. It will then append whatever directories remain on to the end of the path name specified in the Save Into box.

FIX:

1. Remove the directories from the PROPATH that are part of the source code path name.
2. Specify full path and file name of every file that needs to be compiled in the Application Compiler's list of files to compiled.

For additional information on how the Application Compiler makes use of the PROPATH when saving compiled r-code, , see solution: P42876, "How does the Application Compiler save compiled .r code ?"