Solved

Error 20504

Posted on 1999-01-13
6
1,858 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
Independent Software Vendors: 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 150 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

Independent Software Vendors: 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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

739 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