Solved

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

Posted on 2003-11-01
5
1,612 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
  • 3
  • 2
5 Comments
 
LVL 100

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 100

Accepted Solution

by:
mlmcc earned 125 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 100

Expert Comment

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

Glad I could help

mlmcc
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now