Question : (20)532 Cannot find database DLL

Hi there !

I get the following error when trying to preview a report:

Error: 532 Cannot find database DLL
Execute

I've developed a Delphi5 app that connects to MSDE 2000 (SP3 installed). The reports are made with Crystal Reports 8 Developer Edition. I use the TCrpe component from the Crystal VCL package and the crpe32.dll (v. 8.0.0.371). This works fine on most PC's, but not all.

I've tried the following things, but none of them helped:

http://www.hammerapps.com/techtips/techtipsasp/techtipsdynamic.asp?TTID=152
http://pub52.ezboard.com/finteractivepsybertechnologydevelopersgroupfrm46.showMessage?topicID=43.topic
http://support.crystaldecisions.com/library/kbase/articles/c2006479.asp (I know it's not the same error, but I tried it anyway)

Everything works fine (of course) if CR is installed on the PC, but it should also work without CR installed. I've also tried just to install and then un-install CR, but that did'nt work either.

Any ideas !?

Thanks in advance

Snebal

Answer : (20)532 Cannot find database DLL

Sorry for the doubble post ;)

But anyway; I've solved the problem. I used the program http://support.crystaldecisions.com/communityCS/FilesAndUpdates/modules.zip.asp to see what DLL's were loadet on a PC where it worked and did'nt work. The missing DLL is p2sodbc.dll. I just copied the DLL from my own PC to the other PC in C:\WinNT\system32, and now it works just fine :) (The files p2bdao.dll, p2ctdao.dll, p2irdao.dll and P2smon.dll might also be needed!)

Snebal
Random Solutions  
 
programming4us programming4us