Error???

lord_icon

Member
Greetings,

I am using the 4GL for application development and get the following error message, for which I am head scratching. "SmartDataObject has no Appserver partion defined and is running locally without proper database connection(s). All I am doing is using the 4GL ADE, I have no need for any Appserver(s). What do I need to do to resolve this issue???? TIA
 
Status: Unverified

FACT(s) (Environment):

Progress 9.1C

SYMPTOM(s):

Error running the SmartDataObject Without Compiled Code (r-code)

<sdo-file-name> SmartDataObject has no AppServer partition defined
and is running locally without proper database connection(s)

FIX:

In order to be able to successfully run an SDO from the source code,
it is necessary to set a property named 'RunDOOptions' in the SDO's
container object. 'RunDOOptions' can hold a comma-separated list of
options that constructObject (in containr.p) uses to determine how to
search for code when running Data Objects such as SDOs and SBOs.

Create an override version of the constructObject ADM2 procedure for
the SDO's container object and insert the following line of code
before standard behavior (RUN SUPER):

DYNAMIC-FUNCTION('setRunDOOptions':U, INPUT 'sourceSearch':U).

Set the RunDOOptions to "sourceSearch" in constructObject so that
source code will be run when no compiled code (r-code) is found.
 
Back
Top