Solved

Crystal Report viewer from VB app - server logon problem

Posted on 2002-04-05
2
1,306 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
[X]
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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

696 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