Consultor Eletrônico



Kbase P26365: Connection to Crystal Reports 9 fails with ODBC error 'Insufficient information to connect to the da
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

Progress 8.3E
Progress 9.1D
Crystal Reports 9

SYMPTOM(s):

Connection to Crystal Reports 9 fails with ODBC error 'Insufficient information to connect to the datasource'

Login failed
Details:hy000:Merant ODBC Progress driver: insufficient information to connect to the datasource.

Using LogOnServer method in code

<CRAppHandle>:LogOnServer("<DLLName>","<ServerName>","<DatabaseName>","<Username>","<Password>")

Error in ODBC Trace logs:
[01S00] [DataDirect-Technologies][ODBC PROGRESS driver]Invalid attribute in connection string: DATABASE. (0)

CAUSE:

Merant ODBC driver does not seem to handle the DatabaseName parameter of the LogOnServer method

FIX:

Do not specify a value for the DatabaseName parameter:

<CRAppHandle>:LogOnServer("<DLLName>","<ServerName>","","<Username>","<Password>")