Solved

Crystal Reports - Intermittent Parameter Problems with Viewer

Posted on 2007-03-30
4
1,401 Views
Last Modified: 2008-01-09
Crystal Reports Viewer - Reports with Parameters Problem

I have --some-- workstations that get the following error when they try to view reports with parameters using the Crystal Viewer.  However, they are able to view reports that do not have parameters.

In a pinch, I was able to solve this by installing the entire Crystal Reports Dev Package.  However, this is not optimal.  What objects/dlls/references might I be missing that are causing this intermittent problem.

===================================
This document could not be opened. It does not appear to be a Crystal Report document. This document has the expected file extension (rpt.), but it seems to be corrupted. If this report used to work, try opening it with a different version of Crystal Reports and if that still does not work, please contact your administrator.
===================================
0
Comment
Question by:WEhalt
4 Comments
 
LVL 17

Expert Comment

by:MIKE
ID: 18936272
Did you change versions of Crystal by chance?

MikeV
0
 

Accepted Solution

by:
WEhalt earned 0 total points
ID: 18938107
Thank you for your response, but I actually finally got an answer from Crystal themselves.  It was quite involved, but here is an overview so that anyone searching this problem may be at least partially enlightened.

To get crystal to work on a deployed machine:
1.  Download the 'Merge Modules' from Crystal's website
2.  Configure same with your Crystal Dev License Number
     a.  To accomplish this you need a utility called Orca.exe
     b.  Once in Orca.exe, you open the license module
     c.   Enter your license in the PID... field
3.  Get ahold of Visual Studio 1.1 (that is just what Crystal recommended)
     a.  Open Visual Studio
     b.  Add the modules from #1
     c.  Build the project which creates an install file (.msi)
4.  Run the Crystal install on deployment machines before installing your program

I was left wondering how on earth I could have figured this out on my own, but it worked.

W
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Report for VS2013 17 134
vbModal 12 57
VB6 - Scroll Mouse wheel on Picturebox 13 79
Legend Colours Not Matching Riser Colours 9 16
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

820 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