Solved

Database Run-time Error

Posted on 1998-03-27
9
656 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
  • 5
  • 3
9 Comments
 
LVL 8

Expert Comment

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

Author Comment

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

Expert Comment

by:kamall
Comment Utility
What VB version do you use?
0
 
LVL 7

Expert Comment

by:kamall
Comment Utility
Also, are you running your VB application on your machine, or are you running your compiled EXE on another machine?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:stepheng051097
Comment Utility
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
Comment Utility
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
Comment Utility
Also, are you using DAO objects or the VB's Data control and bound controls in your application?
0
 

Author Comment

by:stepheng051097
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now