Consultor Eletrônico



Kbase P19117: error 201 compiling code in WebSpeed 9.1D
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Webspeed 3.1D

NEGATED FACT(s) Environment):

Webspeed 3.x

SYMPTOM(s):

Error 201 when compiling "some" of the html

** Unknown Field or Variable name - <field-name>. (201)

CHANGE:

Installed 9.1D03

CAUSE:

An include file adds logic depending on a PREPROCESSOR.
9.1D includes the same PREPROCESSOR in src/web/method/session.i so the custom include file has no effect.
&IF DEFINED( session-included ) EQ 0 &THEN
&GLOB session-included YES
DEFINE NEW SHARED GLOBAL hSession AS HANDLE NO-UNDO.
&ENDIF

FIX:

Change the PROPROCESOR name in the custom include file.
&IF DEFINED( my-session-included ) EQ 0 &THEN
&GLOB my-session-included YES
DEFINE NEW SHARED GLOBAL hSession AS HANDLE NO-UNDO.
&ENDIF