Run PWcrystal.EXE, Fixcrpe.exe, and if all else fails then run Netsetup.exe.

 

Symptom

Create an application that uses the LogonServer method of the Crystal Visual Component Library (VCL) to connect to the data source for the report.  At runtime the following error is received.

 

Error 532: 'Cannot find database DLL. LogonServer.Logon <PELogonServer>'

 

 

Resolution

The VCL is a wrapper around the Crystal Report Print Engine (Crpe32.dll).  The Crpe32.dll version 8.0.0.371 is expecting the Database DLL name is lowercase where previous versions ignored the case.

 

To fix this for the VCL

 

Change line 14383 of the ucrpe32.pas from:

StrCopy (pDllName, PChar(LowerCase(ListItem(FIndex).FDllName)));

 

-to-

 

StrCopy(pDllName, PChar(LowerCase(listItem(FIndex).FDllName)));

 

If you do not feel comfortable making this change you can convert your code to use the LogonInfo, or Connect properties of the VCL.