I created a simple grouping report using BIDS 2008 and have set the following properties of a textbox to hide a row in the Table (or Tablix) control.
CanGrow = false
CanShrink = true
Hidden = true
The report displays fine in Preview mode, however, when I deploy the reports to the server and view it, it doesn't render the same way. While the row remains hidden (I set it to an obnoxious color to see if would display on the server), there's a huge gap between the headers and the details in the report.
My question is, does the preview mode using a different rendering engine than the Reports Manager?
You can check the versions of bids being used locally and on your server to see if they are the same.
Visual Studio Help > About > Find SQL Server Reporting Services in the list and click on it. I currently have Version 10.50.1600.1
Report Manager In a browser open your http://[ServerName or Address]/Reportserver. At the bottom it will also have the version number, make sure these are the same, otherwise you could have varying results.
Also, the rendering engine is different for the viewer compared to print/PDF. A quick test would be to overlap some items on a report. In the viewer, the rendering engine will seperate these items so they are not touching, while print and PDF will leave them overlapped. This is just one of the differences I've noticed.
Yes, I believe the rendering engines are different.
In preview mode, have you turned on "Print Layout"? I have found that will give you a much more accurate idea of what the report will look like on the server.
Is this gap the same size as the textbox?
Related
Background:
Crystal reports 2008 prior. Now upgraded to crystal reports 2011
We have crystal reports version 14.0.2.364 installed to delivery reports to clients.
This problem appeared after the upgrade where someone gets a report delivered and the browser\crystal report viewer attempts to "auto-scroll" to a page automatically for you. Then some kind of issue causes it to scroll back to the previous page.
It continues to do this in a infinte loop where the browser\viewer never holds still long enough to do anything with the report.
Does anyone know how this has happened? (Again we have service pack 1 and 2 for the crystal reports 2011 package but I can find NOTHING on this problem anywhere).
Anyone else familiar with this problem or have seen this issue? (Happens in IE and Chrome btw)
UPDATE: It appears this problem is related purely to view size. If the view is set to 100 percent and with that view you can see the 2nd page, it starts to auto process the next page to display. So I tried a report that worked, and changed to view to 75% and the problem started up because that brought the 2nd page into view on the browser. This cannot possibly be how this is going to have to work (purely based on whether or not the second page is viewable based on local settings determines whether or not the browser\viewer goes into an infinite loop back and forth)
FINAL UPDATE (Resolution) : A setting in a web.xml file in the reporting services folder that instructs crystal report viewer to pre-render ALL pages of a report before viewing was the solution. Before this it was rendering ONLY the page the user was trying to view, hence if you have 2 pages in view it would infinitely loop in an attempt to display both pages. This setting was unfortunately buried in folders that are related to websphere which powers the application that runs our reports. It was called crystal_use_asynchronous_requests and we had to set it to true. Restarted websphere, and this resolved the issue
FINAL UPDATE (Resolution) : A setting in a web.xml file in the reporting services folder that instructs crystal report viewer to pre-render ALL pages of a report before viewing was the solution. Before this it was rendering ONLY the page the user was trying to view, hence if you have 2 pages in view it would infinitely loop in an attempt to display both pages. This setting was unfortunately buried in folders that are related to websphere which powers the application that runs our reports. It was called crystal_use_asynchronous_requests and we had to set it to true. Restarted websphere, and this resolved the issue
I am using jasper reports in my project to generate html reports. But the generated reports are static. Now we want to add some interactive features in it, like simple sorting and searching of columns. This is preferably to be done the client side. How can this be achieved ? So far I have tried to embed jquery into the generated report with no luck. Does jasper report provide such kind of functionality?
Use parameters and re compile the report every time you want to filter the data.
With your meaning of the word "interactive", nope that is not possible. A report is only a report - a presentation medium that shows data in such manner that is required by the business rule. You can format data here. You can stylize it, add image and what not. A client side application is probably what you want.
Well, your exact requirement can be achieved if you publish the Jasper Reports on the Jasper Server. Once published, all your reports become interactive (For Charts, you must use the PRO charts and not the basic HTML charts but for tables, it works automatically.)
Once you publish it on the Jasper Server, the features that you get are:
Sort button with various types
Export the Report to many formats (PDF, XML, etc - more than 10).
Zoom IN and Zoom Out.
Bubble for your charts making them interactive, etc.
Yes, interactivity is possible in Jasper Reports, but the thing is that you need a Jasper Server Pro or Enterprise version for achieving this. If you are using a community version, it is impossible to create interactive reports. You can download the free trail pro version of jasper server for 60 days from this link https://www.jaspersoft.com/download
For much more details go through this link https://www.jaspersoft.com/community-commercial
Choose according to your requirement.
In business intelligence development studio I create a new report against the TFS OLAP cube. Now from everything I have seen online this report should contain 3 tabs in report building functionality (Preview, Layout and Data).
Is there a specific version where creating a new report would have different tabs. I am currently seeing Design & Preview only. No layout and no Data tabs. All of the report walkthroughs I have seen start from the data tab, manipulating dimensions etc.
Has anyone ran into this before, how do you resolve?
A more specific question would be - What version of BIDS contains the full functionality I am desiring here.
The design has been changed in BIDS 2008.
Fix: in design, View >> Report Data (Ctrl+Alt+D)
Here you can create the dataset, datasource and parameters.
We have a problem when printing reports from within our application.
We want to avoid, that the print function in Crystal Reports 2008 scales reports automatically, so that the full report content fits into the printable area of the specific printer.
The predecessor Crystal reports 11 did not scale anything, that’s what we want to achieve for Crystal Reports 2008.
Sadly the following code throws an exception:
Dim layout As New CrystalDecisions.Shared.PrintLayoutSettings
'Disable scaling, does not work
layout.Scaling = PrintLayoutSettings.PrintScaling.DoNotScale
crystalReport.PrintToPrinter(printerSettings:=printerSettings,
pageSettings:=pageSettings,
reformatReportPageSettings:=False,
layoutSettings:=layout)
Interestingly the SAP Crystal Report Viewer 2008 prints reports correctly, without scaling, so we guess the functionality exists.
Have you tried this setting?
crystalReport.PrintOptions.DissociatePageSizeAndPrinterPaperSize
Have you tried setting this registry key?
HKEY_LOCAL_MACHINE\SOFTWARE\BusinessObjects\Suite12.0\CrystalReports\DesignerOptions
"DealWithMinimalMarginsWhenPrinting"="0"
From SAP forum. Did not work for us, but we are using CR for VS 2010.
According to this it might not be possible. The only workaround, we found so far, is to set your margins to printable area. Might not work for you.
In our case, we're using the custom paper size (8.27x8.75) and in crystal report viewer the scaling and centre settings were greyed out while set to True as described in the question above. By adding our custom paper size in the printer properties (customer paper) the problem has been fixed.
Is there a way in Crystal Reports 2008 to have a preview of page breaks while in design mode ?
I'd like to have a visual clue of when the page breaks while I'm designing a report, without
having to jump to the preview pane every now and then to check how it looks like...
Does that function even exists ?
I'm not familiar with CR2008, but intuitively I doubt it.
You could turn on every single "New Page Before" option in your Section Expert.