Link to home
Start Free TrialLog in
Avatar of pasquali
pasquali

asked on

Error 20504

I installed a visual basic 4.0 application that is working properly except when I call the reports made with Crystal Report. The error number is 20504. Please help me with the
solution  process. I think that a  Cristal Report file is missing (maybe a dll) . If I install again the application
the same error occurs. If I install Crystal Report program in the target computer I get the same error. Which file is
missing? Where is the problem?,in the deployment process?
in the VB set up where a Cristal Report DLL is missing?
Please give me an extensive answer. Thank You.
Avatar of pasquali
pasquali

ASKER

Edited text of question
Avatar of Rog D
There is a way to find out exactly the error you are having.  Inside Crystal reports goto the
help contents and find Error Messages.  Here you will find the following for 20504

20504      Report Not Found.  You have specified a report that does not exist.

A list of the other possible errors will be here too.

I am asuming you specified the incorrect file name and/or Path for the report file.


What are you looking for then?
Rog,tomorrow I will try to resolve the problem again.
I think that your solution is not the correct because I already tried to change the report path ,etcetra.
If tomorrow I resolve the problem using some information you gave me I will credit your answer. If the problem is still there I will let you know. Thank you
The only other thing I want to add is make sure you are including the RPT file in the setup list.  You will have to add this file to the list.  The wizard will not find it for you.  Also make sure you are pointing to the correct location of the installed RPT file on the other systems.

I'm not sure if you are using the Crystal Report control and populating the property or populating the property during runtime.  I would suggest populating it during runtime as you can then use the App.path method to tell the control where the RPT file is located.  This way if someone chooses to install your app in a different location the Crystal report control will not care.


ASKER CERTIFIED SOLUTION
Avatar of mr_krishna
mr_krishna

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