Database Run-time Error

I'm running an application that uses Crystal Reports.  When I try to open the report from my Visual Basic application I get a run-time error 20534, database dll.  What or how can I fix this?
stepheng051097Asked:
Who is Participating?
 
kamallConnect With a Mentor Commented:
Well stepheng, let's start step by step:
Did you make a setup diskette using the VB4 setup wizard and installed your application on the users machine, or you just copied the EXE file, the database, and the report to that machine?

0
 
Kobe_LenjouCommented:
start with looking up the error code in your manual/help file.
0
 
stepheng051097Author Commented:
I already tried, that error code was not in the help file.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
kamallCommented:
What VB version do you use?
0
 
kamallCommented:
Also, are you running your VB application on your machine, or are you running your compiled EXE on another machine?
0
 
stepheng051097Author Commented:
Version 4.0 of VB and yes, I am running the exe on a machine that does not have VB installed.
0
 
kamallCommented:
Also, are you using DAO objects or the VB's Data control and bound controls in your application?
0
 
stepheng051097Author Commented:
I'm using both DAO objects and vb data controls.  I used Wise installation software to install the application (which inculdes more than the exe, database, and report files) on the machine that has the problem.  Since I've posted the question, I tried installing the application on another machine and don't get the run-time error.  My guess is that something is corrupt on the machine that brings up the error  but I have no idea what.  Any suggestions?
0
 
kamallCommented:
Well...
It seems that there is something missing on your first machine and is not included on your setup diskettes.
Does the new machine where your application runs has any of the following installed:
- DAO objects
- Crystal reports
- VB
- The Microsoft Jet Database Engine (or Microsoft Access)

Also, I would strongly suggest that you use the VB's setup wizard and you should manually add all dependency files required by the crystal report control (these files are listed in the crystal reports help).
You must also check in the tools - references whether the DAO library is checked (selected).
Regards
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.