Consultor Eletrônico



Kbase P98113: ADM2 error "SmartDataObject has no AppServer partition defined and is running locally without proper
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/18/2009
Status: Verified

SYMPTOM(s):

ADM2: Error "SmartDataObject has no AppServer partition defined and is running locally without proper database connection" using AppServer session

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

Application produces error only when using the AppServer connection

FACT(s) (Environment):

Application works fine from the AppBuilder with a database connection.
SmartDataObject r-code files are properly placed under a directory listed in the PROPATH
Windows
Progress 9.x
OpenEdge 10.x

CAUSE:

The SDO has an initializeObject procedure override with statements accessing the database table directly.

FIX:

Modify the initilizeObject of the SDO procedure so that it doesn't contain any reference to the database tables. Procedures that need to have direct access to the database tables should not be executed on the client that is using an AppServer connection only.