Solved

Crystal Report viewer from VB app - server logon problem

Posted on 2002-04-05
2
1,298 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

840 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