Link to home
Start Free TrialLog in
Avatar of EV_crystal
EV_crystal

asked on

Crystal Error 20728 from VB6 app

Hi,
we have a VB6 app that calls Crystal reports version 8.5 and works fine. Now we are trying to upgrade the reports to Crystal version 10.0; created an install package to deploy the app.  The install and the application worked but when trying to view the Crystal reports got error 20525, which is related to having both the 8.5 and the 10.0 versions of the crpe32.dll on the PC.  To resolve this we created a redirect file to force the app to use crpe32.dll version 10.0 that we copied to the same folder where the executable is.   Now on some users' computers the Crystal reports work but some users started getting a different error, Error 20728.  
Please help!!
Thanks
EV
Avatar of frodoman
frodoman
Flag of United States of America image

Are the computers that don't work running a new operating system?  I've seen this question asked before and never really completely answered but it generally seems related to old components that may not be compatible with more recent versions of Windows.  In particular if you're using the ocx there seem to be many reports of problems beginning with Windows 2000 and it's no longer supported so most people that have "solved" the problem have done so by changing their method of report delivery.
Avatar of EV_crystal
EV_crystal

ASKER

All computers that we tested on have WINDOWS XP Professional OS.  
It seems that the PCs that have Crystal Reports designer version 10 installed have no problem, but PCs that have no Crystal designer installed get this Error 20728.  Is it possible that when designer 10 is installed some dll gets installed that allows the crystal viewer to work?  
I was trying to find the list of all dll files that are needed for running Crystal 10 and viewing the reports but couldn't find a list.  Does anyone have a list of dlls that are needed for Crystal 10?
Any ideas are greatly appreciated!!
EV
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks for the help!  

We have resolved that error (by following the second link above), however now we are getting error 20536 (again, only on the PCs that do not have Crystal 10).  

While creating the install package, i get an error that 'registrywrapper.dll can not be registered'... can this be related?  or is this an entirely separate issue?

Any input is appreciated!!!
Crystal only has information on 20536 for CR7 and before.

Are you passing the logon information to the report?

mlmcc
We use DSN which uses Windows Authentication.  Our users are set up with rights to the database the reports retrieve from.
Don't know if this is related or not.  Have you installed the service packs for CR 10

http://support.businessobjects.com/library/kbase/articles/c2015792.asp

This may be the issue.  CR10 doesn't support the CRPE or Print Engine
http://support.businessobjects.com/library/kbase/articles/c2016279.asp

"Crystal Reports 10 does not ship with header files to support development using CRPE API. This technology has been retired and is no longer available. "

I believe this means you can use CRPE if Crystal is on the machine but the required dlls don't exist for distributing apps.

mlmcc
Thanks for your input mlmcc!
I see in your profile that you work with VB interface that uses CR.  So, what version of CR do you use to distribute on user machines?  

Actually, before I get the error the crystal viewer window opens and it even increments page numbers as if it was retrieving data.  But then before the data appears on the report the window closes and we get this error 20536.  So it seems that the Crystal viewer is working but there is some issue with the report communicating to the database on machines that do not have CR designer 10.  

I really need to make this work with CR 10!  Any other ideas, please?
(I've done some many Google searches it's unbelievable and nothing helps.)  
EV
 
CR8.

I believe the RDC is included with CR 10.

You could use that

YOu might look here
https://www.experts-exchange.com/questions/21639411/Visual-Basic-6-0-and-Crystal-Reports-XI.html

mlmcc