Solved

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

Posted on 2003-11-01
5
1,621 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 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 101

Expert Comment

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

Glad I could help

mlmcc
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

631 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