Features in Crystal Reports 2011 that could cause failure in a Crystal XI reader - crystal-reports

I've developed a report in Crystal Reports 2011 (v14), and I need to get it to work in an application that's built on the reader for Crystal Reports XI (v11). I'm working on procuring XI, so I can adapt the report there, but in the mean time, it would be nice if I could just get the report as developed in 2011 to work. I was hoping this would work due to the forward compatibility note quoted in this answer.
When I try to run my report in the XI-based application, I get
ERROR: -2147206429
Invalid TLV Record.
In module: Crystal Reports ActiveX Designer
My suspicion is that my report is using some feature in 2011 that's not present in XI and somehow stumping the XI reader engine. When I took a report that had been developed in XI and opened and saved it in 2011, it opened with no trouble in XI.
What features are there in 2011 and not XI that could be tripping me up here? What should I check my report for to make it most likely that it will run in XI?
UPDATE:
I tried rebuilding my report, one feature at a time, to see when the error kicks in on XI. It does as soon as I make a parameter's prompt group a dynamic list that queries a stored procedure or a table, even if I don't set any special characteristics of the prompt group. Given that dynamic parameter prompt groups came in with XI, shouldn't this work?

There aren't many- and as you state- i've always found them to be fully backward compatible.
The main things that spring to mind are the dynamic sort control and the ability to create optional parameters.
If you wish to attach the report I can try opening/saving/checking.

Related

Crystal Reports dynamic parameter

In Crystal Reports 2020, I have a dynamic parameter. Since there can be 100000's of values, the user does not want to scroll through all of them,but wants an option to enter the value in a search box (like when we set Static parameter) and then add it to Selected Values box.
Is it possible?
Here is the relevant portion of a KnowledgeBase Article:
https://userapps.support.sap.com/sap/support/knowledge/en/1381361
SAP Knowledge Base Article - Public
1381361 - Dynamic Parameter List of Values are displayed in batches in Crystal Reports and in SAP BI LaunchPad
Symptom
How to change the batch size?
Crystal Reports dynamic prompt list of values are displayed in blocks of values. How to change the number of values per block?
Dynamic Parameter Lists of Values are displayed in a list of pages, is there any way to change the number of values displayed per page?
When refreshing a report in Crystal Reports, or in SAP BI LaunchPad, Dynamic Parameter shows the List of values in batches, how to display the List of Values in one single list instead of multiple groups?
Environment
SAP Crystal Reports 2013
SAP Crystal Reports 2016
SAP Crystal Reports 2020
SAP BusinessObjects Business Intelligence Platform 4.1
SAP BusinessObjects Business Intelligence Platform 4.2
SAP BusinessObjects Business Intelligence Platform 4.3
Reproducing the Issue
In Crystal Reports designer, create a report off any data source.
Create a a Dynamic Parameter, and add it to the report.
Save the report to the SAP BusinessObjects Enterprise Repository.
Refresh the report in Crystal Reports, or in SAP BI LaunchPad.
When prompted by the parameter, notice that not all values displayed in one list, it displays in multiple batch.
How to only show one list with all the values?
Cause
Large list of values for dynamic parameter are displayed in batch of 200 values.
Resolution
There is no option to turn off the functionality of displaying dynamic parameter list of values in batch, but it is possible to increase the number of values per batch by modifying the following options:
For Crystal Reports: PromptingLOVBatchSize
For the SAP BusinessObjects Business Intelligence Platform: crystal_max_number_list_of_values
Therefore, to display all the values in one batch, increase the value of the batch to be greater than the maximum number of values you expect for your largest list of values.
WARNING The following resolution involves editing the Microsoft Registry. Using the Microsoft Registry Editor incorrectly can cause serious problems. Use the Microsoft Registry Editor at your own risk. For more information see the SAP Knowledge Base Article 1323322
For Crystal Reports designer:
Close the Crystal Reports designer.
Open the Microsoft Registry Editor. ( regedit )
In the Microsoft Registry Editor, navigate to the following path:
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\ReportView
Modify the value for the option: PromptingLOVBatchSize from the default value of 200, to a greater value like: 5000

Crystal Reports: export datasource with report definition

I am stepping into a new reporting environment and I don't have a lot of background info yet. But my company utilizes a series of crystal reports.
I want to compare two reports that are identical except that they connect to different data sources. I can click on both reports in the Crystal Reports viewer, go to Database > Set Database Location and I am able to see the data source. If I do this for both reports in question, I can see that they both connect to different data sources, as expected.
However, when I export the two Crystal Reports as text files and then compare them using Notepad++, I don't see the datasource / connection string in the report files, so when I do a compare, they are exactly the same.
If the exported text files are exactly the same, how does Crystal Reports Viewer know to point one report towards a prod data source and another report towards the dev data source? It does not appear to be embedded in the exported metadata / report definition file.
Thank you!!
The connection info is simply not part of the exported report definition text.
But, obviously, it is part of the report definition.
If you need to export more detailed report definition information, including connection properties, consider getting a documentation utility. Ken Hamady maintains a list of those here.

How can I stop double-sided printing from breaking?

We have a customer that generates reports using our software platform that utilizes Crystal Reports. Every now and then changes to the report are requested. All employees have virtual machines that have Crystal Reports and other software installed to make changes to customer items such as this one report template.
Every time we make modifications to the crystal report template and save it, even if it's something as insignificant as moving a text field up by 1 inch, double-sided printing breaks; instead of flipping text on the long edge of the page, two 1-sided pages are printed. However, that there is exactly one employee VM that does NOT break double-sided printing when the rpt is modified.
I have never seen anything like this. We have checked just about everything and don't know where to go next:
Customer printer settings are confirmed set to double-sided printing
Crystal Reports settings are identical
Section formulas and settings are identical
Making a 1:1 copy of the one working VM and making changes on the copy still breaks printing.
The only remaining suspicion I have left is the file format schema. We have access to Crystal Reports 11 Release 2 (11.5), but the schema is version 11.0.0. Can altering an 11.0.0 report using 11.5 cause this issue? Are there any other areas we should check that could be breaking printing?
Turns out our installation files for Crystal Reports XI R2 were corrupt somehow and was missing service packs. I downloaded a fresh copy of Crystal Reports XI R2 with all service packs up to SP6 and reinstalled it on my image. Printing doesn't break now.

Crystal Report "Error Detected by Export DLL" - Only Excel (Win7)

when I use crystal report export to Excel, below error throw out "Error in file XXXXX. Error detected by Export DLL.
This error only shown when export to excel, others like words/pdf working perfectly.
I'm using win7
I have seen this in two situations:
Situation #1
A long time ago, this was a known issue in Crystal Reports... 11 i think, not sure.
The solution was to install an update of ExporMoldeller.dll and crxf_pdf.dll.
It used to be available in this link
Situation #2
If you are using .NET Datasets as the data source of the report, it can occur is something is wrong with the datasets. I've seen this happen when columns have no types defined explicitly, when there are multiple tables in the dataset and one of them is empty or the link definitions in Crystal Reports are worng, or when there is an empty cell in one table that was supposed to contain an image.

Crystal Reports: Using Business Objects xi Datasource

I'm a total Crystal Reports/Business Objects newbie...
I've been tasked with going through 100 or so Crystal Reports to determine which reports are using an 'embedded' connection string vs. one supplied by the BOXi server.
I've installed Crystal Reports and accessed a sampling of the reports, but haven't been able to locate any references to a Repository based connection string/datasource.
Can anyone point me towards where this configuration is managed?
Thanks!
Richard
I don't know if you've already tried this or even if it's too basic for you, but it's been 24 hours, so here's my 2 cents:
To see the data source of each report, open them up and go to the Database at menu at top. There, you'll want to browse through the "Database Expert", "Set Datasource Location", and "Show SQL Query" options. Look at the properties of each data source.
You may also want to make a practice report pulling data from your sources of interest. That can help you get used to CR.
when you deploy the report to BO, you use the CMC (central management console) to set the database connection information. it is here that you will find the answer to your connection-string question.