Solved

Database Run-time Error

Posted on 1998-03-27
9
660 Views
Last Modified: 2008-02-01
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?
0
Comment
Question by:stepheng051097
[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
  • 5
  • 3
9 Comments
 
LVL 8

Expert Comment

by:Kobe_Lenjou
ID: 1459896
start with looking up the error code in your manual/help file.
0
 

Author Comment

by:stepheng051097
ID: 1459897
I already tried, that error code was not in the help file.
0
 
LVL 7

Expert Comment

by:kamall
ID: 1459898
What VB version do you use?
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 7

Expert Comment

by:kamall
ID: 1459899
Also, are you running your VB application on your machine, or are you running your compiled EXE on another machine?
0
 

Author Comment

by:stepheng051097
ID: 1459900
Version 4.0 of VB and yes, I am running the exe on a machine that does not have VB installed.
0
 
LVL 7

Accepted Solution

by:
kamall earned 200 total points
ID: 1459901
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
 
LVL 7

Expert Comment

by:kamall
ID: 1459902
Also, are you using DAO objects or the VB's Data control and bound controls in your application?
0
 

Author Comment

by:stepheng051097
ID: 1459903
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
 
LVL 7

Expert Comment

by:kamall
ID: 1459904
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

Featured Post

Technology Partners: 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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

730 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