Consultor Eletrônico



Kbase P168368: Getting error 1006 when running application by connecting/disconnecting to different schema holders?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/18/2010
Status: Unverified

SYMPTOM(s):

Getting error 1006 when running application by connecting/disconnecting to different schema holders?

<program name> Database <dbname> not connected. (1006)

FACT(s) (Environment):

Most of the tables are identical to each of the schema holder
Can not use -ld to connect to the schema holder
Has different set of .p files with different names for each of the schema holder
The program does not qualify the tables
No error received when application was compiled
The source code runs fine when connected to each of the schema holder separately on the same ABL session
All Supported Operating Systems
Progress 9.1x
OpenEdge 10.x

CAUSE:

When all the programs are batch compiled, only one schema holder was connected. Therefore, the schema holder names are referenced in the .r which caused the error 1006.

FIX:

Compile each sets of source code separately by connecting to the correct schema holder