Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Need clarification of database driver dll's - Crystal 9 LogOnServer

Posted on 2003-11-01
5
Medium Priority
?
1,633 Views
Last Modified: 2007-12-19
This question pertains to preparing to use the LogOnServer function with various target databases that may be different at runtime.

There seems to be no relationship between the database driver dll's mentioned in the crystal documentation and the files that are actually installed by the product.

For example, the help file says the following about the OLEDB driver:

Crystal Reports provides the OLE DB consumer P2soledb.dll, allowing OLE DB to communicate with an OLE DB provider.

There is no file called P2soledb.dll anywhere on the computer.

There are files that begin with crdb_ but the relationship to files that start with p2 is not explained.

The documentation on the LohOnServer function makes reference to dll's that have names starting with PDS.

It would be very helpful if someone could explain the relationship between these various sets of files, the databases they support, and which names to use under which circumstances.

I'm probably making this way too complicated, but I'm a poor mindreader and the help files provide no clarifying examples.

Thank you.
0
Comment
Question by:danessin
[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
  • 3
  • 2
5 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 9664061
There is such a file on my machine.

What version of Crystal?

Did you do a full, custom, or standard installation.  Some of the database drivers don't install by default.

PDS and P2S are basically the same drivers.  PDS drivers are used for 16-bit machines and applications.  P2S dirvers are for 32-bit machines and applications.

You need to install database drivers for the databases you will be linking to and for the methods you will be using.  For instance if you wish to do ODBC connections you need the P2SODBC.dll driver.  I believe the crdb files were added with CR9.

Look at
http://support.crystaldecisions.com/library/kbase/articles/C2012421.asp?ref=devzone_comaspzone_gettingstarted

mlmcc
0
 

Author Comment

by:danessin
ID: 9664943
version number is in the title "Need clarification of database driver dll's - Crystal 9 LogOnServer"

Version 9 only offers typical and custom - I did typical.

Basically, there are no decent examples of how to use LogonServer or LogonServerEx. I have tried various comjbinations of crdb*.dll, p2*.dll and pd*.dll references and none of them produce a successful connection.

Thanks so far.

0
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 9665215
You may need to do an update install then choose custom.  You can then choose the databases you wish to support and the methods to access them.

Sorry missed the version in the title.

How are you trying to call the reports?  What language are you using?

Take  a look at
http://support.crystaldecisions.com/communityCS/TechnicalPapers/rdc9_tutorial.pdf.asp?ref=devzone_comaspzone_gettingstarted

mlmcc
0
 

Author Comment

by:danessin
ID: 9666321
l]m using vb6 and was trying to use open report followed by LogOnServer.

the document reference is very helpful. It is the info tht is missing from the help file. How did you find it?

the std help file continues to describe LogOnServer even though the pdf recommends against it.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 9667731
Lots of playing on the Crystal site.

Glad I could help

mlmcc
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

661 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