SSRS reports not visible on Google Chrome or Safari | SansSQL

Wednesday, April 8, 2015

SSRS reports not visible on Google Chrome or Safari

Have you developed a new report in SSRS 2012?
Yes,
Is it working on IE?
Yes.
Okay, is it working on Chrome?
No.
Okay, is it working on Safari?
No.
What's the issue?
Is the new report developed with proper logic?
Yes, No, Maybe?

Don't worry, if the report is working on IE then it should show up on other browsers.
There is an issue with the SSRS 2012. Chrome and Safari render "overflow: auto" option in different way than Internet Explorer.

To Fix this issue,
  1. Open the server where SSRS is installed
  2. Navigate to the path <SSRS Installation Path>\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\js\
  3. Backup the file ReportingServices.js
  4. Edit the file ReportingServices.js and append the below code into it
    function pageLoad() {
      var element = document.getElementById("ctl31_ctl09");
      if (element) {
        element.style.overflow = "visible";
      }
    }
  5. Save the file
Now you should be able to view the reports on Chrome and Safari.
The div name is not always ctl31_ctl09. So, if you are still unable to view the reports on chrome and safari after the change, make sure to replace the highlighted div name in the code to the right div name of yours. This could be found by looking at the HTML source of report URL from your browser.

Update:
Another workaround for this problem is through the CSS.
  1. Open the server where SSRS is installed
  2. Navigate to the path <SSRS Installation Path>\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\Styles\
  3. Backup the file ReportingServices.css
  4. Edit the file ReportingServices.css and append the below code into it
    div {
    overflow: visible !important;
    }
  5. Save the file

7 comments:

Unknown said...

Hi Sandesh, I'm using SQL 2012 Enterprise edition. I tried the above code by replacing the elementid to ctl32_ctl09. But, I'm still not able to see the report in chrome. Need your suggestion Pls.

Michael Jenkins said...

Since I just ran into this issue, I thought I'd share another possible CSS solution... If we added the following line to the ReportinServices.css file, that should work as well, right?

div#ctl31_ctl09 { overflow: visible !important; }

kanmani karthick said...

Such as very good information and more skills are improve after refer that post.Thank you so much sharing that valuable information.
SQL DBA Training in Chennai

cvdk said...

Awesome, thanks so much!

Unknown said...

Hola, y si deseo verlo en la maquina de un cliente donde no tiene instalado el SSRS???

BelgianDancerWithWanderlust said...

Great, JV didn't work but CSS did! Thanks

santi said...

Teenee เว็บไซต์แหล่งรวมคอนเทนต์ทุกรูปแบบเช่นเดียวกับเว็บ Sanook / MThai / กระปุก ให้คุณตามทันทุกข่าวสารฮอตฮิตและเป็นกระแสทั่วโลกประหนึ่งนั่งอ่านหรือดูข่าวจากข่าวสด / Manager อีกทั้งยังมีข่าวบันเทิงที่รวบรวมฮอทท็อปปิคบันเทิงมาให้คุณอัปเดตข่าวล่าสุดของดาราคนโปรดที่คุณชื่นชอบหรือติดตาม มีคลิปวิดีโอเด็ดที่เป็น viral ในปัจจุบันให้คุณดูขำหรือไว้แชร์กับเพื่อน pg slot

Post a Comment

Ads