Consultor Eletrônico



Kbase 38530: Unable to establish Oracle connection, resulting in error 1008
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/08/2000
Solution ID: P8530

FACT(s) (Environment):

DataServer

SYMPTOM(s):

<program name> non-PROGRESS database <name> unknown. (1008)

Error is seen when connecting through command line and/or through procedure editor

Connection String defined:

CMD: prowin32 -db schholder -1 -ld oradb -dt ORACLE -U user -P password
PE: connect -db schholder -1 -ld oradb -dt ORACLE -U user -P password

No "-db" defined in connection string(s)

CAUSE:

This connection string is missing the "db" parameter for the ORACLE db. The -db is defined for the schema holder, however, not defined for the oracle schema image, the oracle db. The logical name is not enough, as it's not possible to identify where the oracle connection parameter starts.

FIX:

Add the "-db" parameter to your oracle connection string as follows. This parameter must be used.

prowin32 -db schholder -1 db oradb -dt ORACLE -U user -P password

The logical (-ld) parameter can also be used as well, but always inconjunction to the -db. Please note that the -dt parameter must follow after the -db and -ld, as it represents the ORACLE datatype.