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

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 100

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.

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

LVL 100

Expert Comment

ID: 11759321
How are you connecting to the report?

What code are you using in VB?

LVL 100

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

708 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

14 Experts available now in Live!

Get 1:1 Help Now