Consultor Eletrônico



Kbase P173167: Getting error 2 (43) when programmatically connecting AppServer to database.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/9/2010
Status: Unverified

SYMPTOM(s):

Getting error 2 (43) when programmatically connecting AppServer to database.

Code was designed to connect in single or multi-user mode.

Toggle option for multi-user selected.

Code appears to be requesting a shared memory or single user connection to the database since it displays the Working directory before the database name.

FACT(s) (Environment):

Progress/OpenEdge Product Family

CAUSE:

The application in question required changes to the screen options to be saved before a test connection was made. The application was using prior value which indicated single user connection.
Single user connection defaults to current working directory if no path is specified.

FIX:

Make sure that proper values for variables are passed within the application code.
If necessary use debugging messages to check values of variables or parameters to make sure the correct code path is being selected and enacted.