Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports ocx problem 1

Status
Not open for further replies.

azrobert

Programmer
Apr 27, 2002
392
US
I have an application that i have developed in vb6 in which I am using the included crystal reports ver 4.6. when installing on a win 98 machine i get a problem registering cryst32.ocx and msado.tlb. has any one run into this before ?

any suggestions are greatly appreciated
 
I tried teh install on an xp machine and it only errors on the msado.ocx but seems to run fine ??????
 
Crystal32.ocx requires a lot of other dependent files like implode.dll etc., which u can find in the crystal reports documentation. Make sure u include all those files in to the setup, and make sure all those are registerd prior to the crystal32.ocx.

You can also conduct a small test by registering crystal32.ocx in a system (using regsvr32) without crystal reports, it will throw the same error. But if u try registering after u register the support dlls, it will register fine.

if u need a complete list of files needed(3 or 4 in no:), i'll get it to u, but i am supposed to go to my office to get the list. All the Best
Praveen Menon
pcmin@rediffmail.com
 
that would be a great help..... I am stumped so far. I used the P & D to install and you would think it would pick up all the files needed :)
 
These are the required files.. Pls check the Runtme file requirements help in your Crystal Reports Installation.Also check the script generated by the PDW and ensure these files are registered prior to the regsitration of the Crystal32.ocx.

CRPE32.DLL \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32 (NT only) Interface to the Crystal Report Engine
MSVCRT20.DLL \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32 (NT only) Microsoft Foundation Class Runtime Library
CRPAIG32.DLL \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32 (NT only) Crystal Reports text object support
CTL3D32.DLL* \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32 (NT only) Version 2 of the 3 D control implementation
IMPLODE.DLL \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32 (NT only) Compression Library All the Best
Praveen Menon
pcmin@rediffmail.com
 
All of the required files are there and crystl32.ocx even fails on manual registration... I get an error: load library ("crystl32.ocx") failed get last error returned 0x00000485
 
Robert,

get a system where there is no crystalreports installed. Take these files and register them in this system in order.

CRPE32.DLL
CRPAIG32.DLL
IMPLODE.DLL
crystl32.ocx

Is the registration a success? All the Best
Praveen Menon
pcmin@rediffmail.com
 
Got a win 98 (test Machine) sitting right here.... I am reloading windows 98 to ensure i havea clean start on it :)

will try this as soon as it is done.....

Thanks for sticking with me.....
this is driving me nutts!
the program runs beautifuly on my machine and except for the reporting part runs great on the 98 machine :)

ps if it matters i have xp on teh devalopment machine and 98 on the target machines
 
got an error message on the first one....

I think i am starting to figure out what is happening...

there was a version of crystal enterprise 8.0 on this machine and i think it placed new dll files here....

the version of CRPE32.DLL is 8.5.0.217

not sure whre to turn now........

I am using crystal 4.6


 
I have been facing the same problem before, when the message shows, just click ignore and let it install completely into system first.

After that, I just install the Crystal Report 8.5 into the corresponding PC and then uninstall it again, and the crystl32.ocx will be registered into the system and you can use the program already.

Good luck.

 
problem is I don't have 8.5 :(

it was on this machine at one time
 
Dont Install CrystalReports.. it may solve the problem, but wont give u enuf information.. i wud suggest u try shuffling the order of registering the Dlls.. All the Best
Praveen Menon
pcmin@rediffmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top