How To Make SQL Server Reporting Services 2008 & 2012 Work On Safari / Chrome

IT Support Forum Forums Databases Microsoft SQL Server 2012 Reporting Services How To Make SQL Server Reporting Services 2008 & 2012 Work On Safari / Chrome

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 1 year, 3 months ago.

  • Author
    Posts
  • #1322

    Webmaster
    Keymaster

    By default, SQL Server Reporting Services 2008 & 2012 reports are blank in Safari and Google Chrome browsers. To fix this and make SSRS 2008 & 2012 work in Safari & Google Chrome:

    1. Load a report on Internet Explorer
    2. Look at the source code for the page and find the ID of the div element that contains overflow:auto
    3. Navigate to this folder on the SSRS server: C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\js\
    4. Add the following code to the end of the ReportingServices.js file, substituting xxxxx with the ID of the div element you obtained in step 2 (typically this will be either ctl31_ctl10 or ctl32_ctl09, depending on whether you are using SQL 2008 or SQL 2012:

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

    The reason SQL Server Reporting Services doesn’t work on Safari or Google Chrome is because the overflow:auto HTML is not valid HTML and relies on a feature that was available in Internet Explorer 5.5 (and continued to be supported). One might suspect that Microsoft has used this feature deliberately to ensure that users of SQL Server Reporting Services are encouraged to use Microsoft’s browsers.

You must be logged in to reply to this topic.