Connection to DB fails, works on dev machine

Posted on 2003-03-03
Medium Priority
Last Modified: 2008-02-01
Im using Delphi 5, CR 9, connecting to a MS SQL Server DB. The application using the Delphi VCL (supplied with CR) to interface to the report. I have a report that is loaded at run time from the Delphi application, then attempts to connect to the DB using OLEDB (ie not ODBC). Works fine on my dev machine, but not the client PC. The client PC gets a "717 - Failed to Load database information".

Some sample code;

oCR.Connect.ServerName := '';
oCR.Connect.UserID := 'query';
oCR.Connect.Password := 'queryit';
oCR.Connect.DatabaseName := 'ESCQuery';

oCR.Test <- Fails here.

I've installed all the DLLs I can find, but this is really getting annoying, can anyone help resolve this? Im fairly certain this is a DLL redistribution issue, but after reading seagate's doco on this Im no closer.
Question by:azag
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
  • 3
  • 2
LVL 101

Expert Comment

ID: 8057505
It is a DLL issue.

Did you create an installation package or just copy the dlls to the client?

Are the dlls registered on the client?


Author Comment

ID: 8057558
I've been using Installshield Pro 7 to create an installation package. Have been registering DLLs where I "believe" appropriate. I must admit to being lost as to which should and which should not be registered.

(Even went to the extent of signifying all DLLs as registerable - and living with failed registrations - just to make sure I registered them all).

Believe that I need crdb_ado.dll (which doesnt regsvr32) - but sure which others.

LVL 101

Accepted Solution

mlmcc earned 300 total points
ID: 8061836
Take a look at


It is a dependency walker.  It will show you which dlls are needed.


Author Comment

ID: 8069889

Although this hasnt really solved my problem - I kind of ran out of time and used a MSM solution (which I didnt want to do), I thank you for your help. If I get more time - the dependency checker might help in future projects.

LVL 101

Expert Comment

ID: 8071626
Hope it helps


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

777 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