Do you know how to display reports in Firefox, Chrome and Safari (SQL Reporting Services 2008R2/2012)?

Updated by github-actions[bot] 10 months ago. See history

123

SQL Reporting Services works great with Internet Explorer but other browsers sometimes don’t work correctly, Here’s the solution.

Image

❌ Figure: Bad example - SQL RS does not work in Chrome by default

This issue is caused by Reporting Services emitting Quirks Mode HTML, to fix this make the following changes to the ReportingServices.js file the full path to this file is:

C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\js\ReportingServices.js

Add the following java script:

function pageLoad() {
var element = document.getElementById("ctl31_ctl10");
if (element)
{
element.style.overflow = "visible";
} }

Once this change is made reports will be visible.

Image

✅ Figure: Good example - SQL RS fixed to correctly display in Chrome

More information at: stackoverflow.com/questions/5968082/ssrs-2008-r2-reports-are-blank-in-safari-and-chrome

Read how to display reports properly for Reporting Services 2005/2008.

acknowledgements
related rules