Consultor Eletrônico



Kbase P8268: Errors after editing AppBuilder generated file outside the AppBuilder
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/09/2008
Status: Verified

SYMPTOM(s):

Can not load .w file in the AppBuilder successfully

Modified source file outside of the AppBuilder (Example: it was edited .w file in the Procedure Editor)

The AppBuilder is unable to load the edited file or code is lost from the file

The following errors may occur when attempting to open the modified source file in the AppBuilder:

** No <file-name> record is available. (91)

** No _Field record is available. (91)

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

CAUSE:

Parts of the .w file were edited that are reserved for AppBuilder use only.

When loading in a source file, the AppBuilder makes use of special preprocessor commands to analyze the file and initialize the AppBuilder work environment. If unexpected code is encountered during this loading process the AppBuilder can not analyze the code succesfully.
It may be able to partly recreate the user-interface layout, or it may simply abort with an error stating that the file cannot be analyzed by the AppBuilder.

If the AppBuilder load is partly successful, it is very likely that the unexpected code changes were discarded during the load process. This means that any subsequent "Save" of the code will result in lost work.

FIX:

Replace source file from a backup and make changes from within the AppBuilder