Any one have experience with Crystal Reports VCL component for Delphi 3?
I get:
"Error: 599. Cannot open SQL server. Method: Execute <StartPrintJob>"
when trying to run a CR7 report on an Oracle database from Delphi 3.
The Crystal error codes say 599 means invalid log on information, such
as not specifying the server name, but I've tried all the valid server
information I can think of.
I've moved from CR6 to CR7 to take advantage of knowing the name of
parameters and formulas. I know the reports worked at one time, but
don't remember the last time I checked them and what has happened to my
machine in the mean time. I'm using the most recent CrystalVCL.dpc
(7.3.0.25), Oracle 7.3, Delphi 3, Win95.
I've tried both useConnect and useLogOnInfo, but both produce the same
error. I've tried creating a new, very simple report and the report can
be previewed from CR just fine; previewing from Delphi starts to show
the preview screen then creates error.
Anyone have an idea of other things to try?
Thanks.
jMiller
cojm...@ihc.com
--
Thomas Miller
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Application FrameWork
BSS VCL Pack
I don't know what Oracle information is important to the Crystal
component. I use a TDatabase component that is already connected to the
Oracle database and pull out the information from Params. It's Oracle7
Server Release 7.3.2.3.0.
Crpe1.ConnectMethod := useConnect;
Crpe1.Connect.ServerName := Database1.Params.Values['SERVER NAME'];
Crpe1.Connect.UserID := Database1.Params.Values['USER NAME'];
Crpe1.Connect.Password := Database1.Params.Values['PASSWORD'];
Crpe1.Connect.Propagate := True;