Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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. …
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

776 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