Error 20534 VB-Crystal Report

Posted on 2004-08-06
Last Modified: 2012-05-05
I am creating a report in Crystal Report 8.0 with text datatype using SQL Server. I am able to view the report when i check it on my machine. But when i move Exe to user's machine, i get error "Error 20534. Error connecting database dll".  From my machine it works fine at both the times, design and run, but on user's machine it does not run. If i change datatype to char from text, the report comes fine on user's machine. If i change it back to text, report gives error 20534.

Can anyone help,

Question by:rama0411
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

Expert Comment

ID: 11742250
look for the datatype of the field in the database and as well as in the crystal reports mismatch of them can lead them to crash a char placeholder cannot be suited for a char.

LVL 101

Expert Comment

ID: 11744939

Author Comment

ID: 11752142
I am using stored procedure to populate report, so there should not be any data type mismatch issue. Also, i am able to open report on my machine. It only happens when i try to run report from user's machine.

I already tried module and moved all files from my machine to user's machine which module was showing as different. still no luck.

Finally i have created setup.exe from VB-Wizard for that application and ran setup on user's machine and now report is coming fine. I have to go through now at least 200 files and try to find which one is giving issue as we can not run setup on user's machine every time also there are more than 100 users of application.

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!

LVL 101

Expert Comment

ID: 11759321
How are you connecting to the report?

What code are you using in VB?

LVL 101

Expert Comment

ID: 11759323
This shows the required files for Crystal 8

Be sure to look at the developer.hlp file either on the CD or in the Crystal directories.


Accepted Solution

modulo earned 0 total points
ID: 12503537
PAQed - no points refunded (of 125)

Community Support Moderator

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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 Month9 days, 23 hours left to enroll

623 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