IT Analytic Reports do not render a scrollbar in the Altiris Console

book

Article ID: 169742

calendar_today

Updated On:

Products

IT Analytics

Issue/Introduction

When using ITA Reports in the Altiris (ITMS) Console, data is rendered without scroll bars. This is a common issue with IE11.

Cause

SQL Server Reporting Services is not compatible with Internet Explorer 11
https://connect.microsoft.com/SQLServer/feedback/details/810527/sql-server-reporting-services-is-not-compatible-with-internet-explorer-11

Resolution

The ASPX source on the Microsoft Reporting Server will need to be modified.

The file is located here:
C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\Pages\ReportViewer.aspx
NOTE: The directory path will depend upon your version of MSRS.

The following is an example that works with version 11, the changes are highlighted in yellow:

 

<%@ Register TagPrefix="RS" Namespace="Microsoft.ReportingServices.WebServer" Assembly="ReportingServicesWebServer" %>
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Microsoft.ReportingServices.WebServer.ReportViewerPage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head id="headID" runat="server">
  <title><%= GetPageTitle() %></title>
 </head>
 <body style="margin: 0px; overflow: scroll;">
  <form style="width:100%;height:100%;overflow:auto;" runat="server" ID="ReportViewerForm">
   <asp:ScriptManager ID="AjaxScriptManager" AsyncPostBackTimeout="0" runat="server" />
   <RS:ReportViewerHost ID="ReportViewerControl" runat="server" />
  </form>
  <script language="javascript" type="text/javascript">
Sys.WebForms.PageRequestManager.prototype._destroyTree = function(element) {
    var allnodes = element.getElementsByTagName('*'),
        length = allnodes.length;
    var nodes = new Array(length);
    for (var k = 0; k < length; k++) {
        nodes[k] = allnodes[k];
    }
    for (var j = 0, l = nodes.length; j < l; j++) {
        var node = nodes[j];
        if (node.nodeType === 1) {
            if (node.dispose && typeof (node.dispose) === "function") {
                node.dispose();
            }
            else if (node.control && typeof (node.control.dispose) === "function") {
                node.control.dispose();
            }
            var behaviors = node._behaviors;
            if (behaviors) {
                behaviors = Array.apply(null, behaviors);
                for (var k = behaviors.length - 1; k >= 0; k--) {
                    behaviors[k].dispose();
                }
            }
        }
    }
}
document.getElementById("ReportViewerControl_fixedTable").style.tableLayout = "auto";
  </script>
 </body>
</html>

 

With these changes, you will see the following:

 

Attachments