Consultor Eletrônico



Kbase P34452: LogOnServer method of the CrystalRuntime.Application ActiveX object causes error 5890
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/3/2009
Status: Verified

SYMPTOM(s):

Trying to invoke the LogOnServer method of the CrystalRuntime.Application ActiveX object

Error occurred while accessing component/property method: LogOnServer. Failed to load database information. Error code: 0x80020009 USER-INTERFACE-TRIGGER C:\PROGRESS\WRK\p28406cf.ab (5890)

FACT(s) (Environment):

Windows
Progress 9.x
OpenEdge 10.x
OpenEdge Language Category: ActiveX

CAUSE:

The parameters to the LogOnServer method are incorrect.

FIX:

The correct structure of the LogOnServer method call are as follows:

crApplication:LogOnServer("pdsodbc.dll",
"Your ODBC DSN Goes Here",
"Your Database Name Goes Here",
"Your Database User Name Goes Here",
"Your Database Password Goes Here .. Cannot Be Blank").