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

Last updated by Github-actions[bot] 3 months ago.See history

This rule has been archived
Archived Reason: IE is not a thing anymore - this has been resolved now in current browsers

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

report display bad 1726800492478
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.

report display good 1726800492478
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.

We open source.Loving SSW Rules? Star us on GitHub. Star
Stand by... we're migrating this site to TinaCMS