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

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.
danessinAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
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
danessinAuthor Commented:
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.

mlmccCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
danessinAuthor Commented:
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.
mlmccCommented:
Lots of playing on the Crystal site.

Glad I could help

mlmcc
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.