SSRS Display Issues In Chrome

SSRS Display Issues In Chrome

Environment: SQL Server 2012, Chrome 37.0.2062.124 at time of writing

According to BOL, Chrome (and other browsers) are supported in limited fashion. In any case, the attached is a little fix that you can apply to the Reporting Services js to work around a rendering issue within Chrome.

Basically what happens is that Chrome and Safari render overflow:auto differently than Internet Explorer. The HTML produced by SSRS  contains a div which has overflow:auto style, causing what appears to be a blank report. Menu and filtering tools remain visible.

I note that reports run from the the /reportserver/ ReportViewer shell did not have the problem in my environment.

Locate ReportingServices.js on your Report Server, possibly installed here: C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\js\ReportingServices.js

Add the following snippet to the end of the js:

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

Note that in my environment the div in question was ctl32_ctl09, it may be ctl31_ctl09 in yours. I am not sure if a restart of the Report Server instance is required, but I performed it anyway.

Mike250

Australian. Sport. Passionate Cricket Fan. Go Pro. Abseiling. Snorkeling. Travel. Golf R. SQL Server Developer. Three sons. One daughter. Last Trip: New York.

Related Posts
Leave a comment

Your email address will not be published. Required fields are marked *