×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Running compiled reports on other machines

Running compiled reports on other machines

Running compiled reports on other machines

(OP)
I have about 20 compiled reports which I want to run on other machines. Previously I have used a copy of the 108 Crystal runtime DLLs, plus the file CRRUN32.exe, placed in the same folder as the reports, in order to run the reports.


This doesn't work with the Crystal 7 or 8 DLLs. Some reports work okay, but other reports will stop with a "Cannot open Control File" error message.

Please help me, I've been trying everything to get these compiled reports running correctly on other machines.

Alan

RE: Running compiled reports on other machines

When you compile a report you get a set of three files for each report:

ReportName.exe
ReportName.rpt
ReportName.crf (which is the control file)

They have to stay together.

Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
http://www.kenhamady.com/

RE: Running compiled reports on other machines

(OP)
Thanks Ken. I have actually got the three report files in the folder as well, but the error still occurs.

It's strange, because when the "Cannot open Control File" error appears, the control files are not read-only. The CD website recommends making the control file readonly (for some reason) but this doesn't work either.

Do you think I should just forget about including what we hope are the Crystal runtime DLLS in our reports folder?
It's a wee bit of a hack I feel.

What is the easiest way of getting our reports to run on other machines? The Distribution Expert for Crystal 8 (which I got from the Crystal Decisions website)?

Could this cause grief by possibly installing Crystal 8 DLLs on machines that have earlier versions of Crystal?

My reports were originally done in Crystal 6, I've just upgraded them to Crystal 7, by removing all the Fetch and Store commands. Therefore, do you think that running the executables with the Crystal 8 DLLs would work okay?

A lot of questions for you, sorry, but I would just love to get this issue resolved once and for all. It's caused me a lot of grief!

Thanks
Alan

RE: Running compiled reports on other machines

If you have CR7 you can use the distribution expert in CR7.  That way there is no conflct among versions.  The distribution expert comes with V7.

You can't use more than one version of CRPE on the same PC, so if you install the V8 runtime with the expert, you will now have the V8 dlls.  These would probably work OK, but you will want to test it on a PC that is not mission critical to see if there are any problems.  

Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
http://www.kenhamady.com/

RE: Running compiled reports on other machines

(OP)
OK Ken, I'll give the Crystal 7 report distribution expert a go.

Thanks for your help and advice.

Kind Regards,

Alan Crawford

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close