Broken report layout in Report Manager and ASP.NET ReportViewer
Hi, I've created some reports using SSRS 2008 R2. They look ok in BIDS 2008 in preview Window But things are going bad after deploy to Report server. You can see, that one of columns missing in Report Manager. But the biggest problem is, how the reports look like in ASP.NET ReportViewer. When I tried to display report within it, I'll get this: Could please somebody tell me why this report looks like completely different? What could be wrong? Thank you. EDIT: When I export report to file (for example PDF) then it's OK.
April 11th, 2011 11:20am

Hi xxviktor, From your scenario, report layout in report manager and reportview are different from when preview the report in Business Intelligence Development Studio. Reports that are viewed in a browser and run in Report Manager are all using HTML rendering extension. HTML rendering extension is a kind of soft page-break renderer extensions. The resulting file is optimized for screen-based viewing and delivery, such as on a Web page or in the ReportViewer controls Referring to these questions that reports look like in ASP.NET ReportViewer and one of columns missing in Report Manager, please look at the following HTML-specific rules which are applied when rendering: 1. The HTML rendering extension builds a table in HTML to contain each set of report items. Items are positioned in the table to preserve the report layout. 2. Locations and sizes are expressed in millimeters (mm). Differences of less than .2 mm are rendered as 0 mm. 3. HTML does not support item overlap. This can result in layout changes as the report is displayed. 4. A subreport is rendered as a DIV tag in the HTML report. When displayed on the client, an HTML report uses the browser-specific settings. In addition to possible font substitutions, other browser settings can likewise produce changes. If you want to precisely control the layout of the report on all clients used to view the report, consider using the image rendering extension (PDF or TIFF). For more information, please see the following articles: Rendering to HTML (Report Builder 3.0 and SSRS): http://msdn.microsoft.com/en-us/library/dd255269.aspx Page Layout and Rendering (Report Builder 3.0 and SSRS): http://msdn.microsoft.com/en-us/library/ee210530.aspx#PageLayout Thanks, Eileen
Free Windows Admin Tool Kit Click here and download it now
April 13th, 2011 1:19pm

Thank you for your answer, I'll check it out.
April 13th, 2011 4:31pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics