Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report loading 2

Status
Not open for further replies.

AFK

Programmer
Oct 5, 2004
23
US
I have a reoprt.That works just fine. when I click on print it will open and I can see it. But all other members of my company can not open it. It will error out to the point at which it is ready to open.
Any ideas..Please...
 
Post technical information:

Crystal version?
Database/connectivity used?
How is this report being executed? Web? Windows Application?
Exact Error message?

Reports generally don't open by clicking in print, this sounds like a 3rd party application using a Crystal Report.

-k
 
Crystal report version is 8.5.Database is SQL.I am calling this report through VB 6.0.I have a subroutine that calls the report, then print job opens it.The application I use is our company's own sotware.
 
Make sure that the data source is accessible to all other machines, e.g. if you used an ODBC DSN as the report's data source, make sure the same DSN exists on any workstation that you plan on running the report from.

If that's not your issue, please, as k stated, post your connectivity. Also, the Crystal Print Engine method you're using in VB (RDC, OCX, API, etc.).

-dave
 
The error message says that "An undefined error has occured, please contact your system admin.
 
The CR software we use is Seagate Software v(8.5).Crystal Print Engine method is API.Print Engine DLL (Professional).
Every workstation has the DSN I am using. Every user have the right over the Storedprocedure I am using to load data for CR.
Now I can't catch the error as it works on my machine. Any suggestions please???
 
Unfortunately, I'm a newcomer to using the CR API, and it's rarely even mentioned in these forums.

Check the version and location of crpe32.dll on the clients (as well as any other .dlls that should have been deployed with the application), and compare to the development machine.

Is there an error number attached with the error message you're getting? I can't find any documented Crytal errors with a similar description.

Do you have this?:
Crystal Reports Legacy Developer Components help file
I've found it extemely helpful.

-dave
 
Still not working..I compare my crpe32.dll to all others. Everything is same. Still gives Error#5.
 
The error message I am getting is when my program gets to the point where it has to open and print the report.Here is where I get the error...


' Start the Print Job

Return value = Startprintjob(Printjobnumber,waitsforprintjobcompletion)
If Return value <> ReturnValueokconstants Then Error Startprintjob(Printjobnumber,waitsforprintjobcompletion)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top