• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1313
  • Last Modified:

Crystal Report viewer from VB app - server logon problem

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
RMeadows
Asked:
RMeadows
1 Solution
 
bobbit31Commented:
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
 
DanRollinsCommented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now