?
Solved

Error 20504

Posted on 1999-01-13
6
Medium Priority
?
1,920 Views
Last Modified: 2013-12-25
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.
0
Comment
Question by:pasquali
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 

Author Comment

by:pasquali
ID: 1489666
Edited text of question
0
 
LVL 8

Expert Comment

by:Rog
ID: 1489667
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.


0
 
LVL 8

Expert Comment

by:Rog
ID: 1489668
What are you looking for then?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:pasquali
ID: 1489669
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
0
 
LVL 8

Expert Comment

by:Rog
ID: 1489670
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.


0
 
LVL 1

Accepted Solution

by:
mr_krishna earned 300 total points
ID: 1489671
Check the path where your report is stored. Better to give app.path and report file name will give bette results.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question