Consultor Eletrônico



Kbase P60216: Error 5643 from sqllogin in ESQLC applications
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   31/08/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.x

FACT(s) (Environment):

Windows

SYMPTOM(s):

Running an ESQLC application

Application started with -basekey INI -ininame <file.ini>

No PSC registry entries are available

Error 5643 from sqllogin

PROGRESS.INI file not found. (5643)

CAUSE:

Progress disregards the -basekey -ininame parameters when sqllogin is
called, unless the parameter for application name in sqllogin is set to PRORB.

FIX:

Apply one of the following work-arounds:

1. In your esqlc code add external NormalSession int variable and assign it to 1
before calling sqllogin:
extern int NormalSession = 1;
res = sqllogin( ... );

2. Change directory before sqllogin to the directory that has progress.ini and then immediately cd back.