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

I'm an Australian Chief Analytics Officer passionate about data science, visual insights, and all things sportโ€”particularly cricket. An adventurer at heart, Iโ€™ve gone from abseiling cliffs to snorkeling in crystal-clear waters, sleeping in the wilds of Africa, and exploring destinations worldwide, with my latest trip taking me to Bali. When I'm not diving into data or analytics, I'm spending time with my three sons and two daughters, attempting to hit sixes for my local cricket club, reviewing chicken schnitzels or honing my craft around a coffee machine.

Related Posts
Leave a comment

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