Solved

Crystal Report viewer from VB app - server logon problem

Posted on 2002-04-05
2
1,296 Views
Last Modified: 2008-01-16
I have a VB app that allows users to select Crystal Reports they want to view from a form.  The Viewer is set up on another form that logs on to the server where Crystal gets the data.
  cxReport.Database.LogOnServer "PDSODBC.DLL", "MyDsn", "MyDatabase", "User", "password"
CRViewer1.RepdortSource = cxReport

If the user has Crystal Reports installed on their pc it works OK, but if they don't have Crystal Reports installed they get:
Run time error 214192184(80047288)
Server not open

Does anyone have an idea what I might be missing in my package?

Thanks
0
Comment
Question by:RMeadows
2 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 50 total points
ID: 6920981
pdsodbc.dll? how bout P2SODBC.DLL?

Additional Required Runtime File

In addition to the files included in MDAC, always distribute the following file with any application that uses ODBC:

NOTE: Be sure to check the requirements for the specific ODBC driver you are using. See the list of ODBC Data Sources below.

FILE     LOCATION     DESCRIPTION
P2SODBC.DLL     \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32
(NT only)     Crystal Reports Physical Server DLL for ODBC

you can look at the other runtime requirements by going to:
C:\Program Files\Seagate Software\Crystal Reports\Developer Files\Help\Royalty Free Runtime.hlp
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7642944
Hi RMeadows,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept bobbit31's comment(s) as an answer.

RMeadows, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DIR issue 7 54
Vb.net 2008 2 59
Visual Studio 2005 text editor 10 38
Prevent user closing word document opened with VB6 6 74
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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

773 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