none
ReportViewer 2012 with IE 11 failing RRS feed

  • Question

  • I recently updated to Windows 8.1 and now get IE 11.  We have an application that uses the Report Viewer 11.0 (2012) and now that I have updated, when I try to run reports I get the following exception from the ReportViewer only on the IE 11 browser (every other browser and version of IE works):

    Value cannot be null.
    Parameter name: String 
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
     Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: String
    
    Source Error: 
     An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    
    Stack Trace: 
    [ArgumentNullException: Value cannot be null.
    Parameter name: String]
       System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +12639483
       System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +224
       System.Web.Configuration.HttpCapabilitiesBase.get_MajorVersion() +123
       Microsoft.ReportingServices.Diagnostics.Utilities.BrowserDetectionUtility.IsIE55OrHigher(HttpRequest request) +79
       Microsoft.Reporting.WebForms.ToolbarControl.RenderSpacedGroup(ToolbarGroup group, HtmlTextWriter writer, Boolean visibleOnLoad) +107
       Microsoft.Reporting.WebForms.ToolbarControl.RenderMainButtonDiv(HtmlTextWriter writer) +234
       Microsoft.Reporting.WebForms.ToolbarControl.Render(HtmlTextWriter writer) +1126
       Microsoft.Reporting.WebForms.ReportViewer.RenderTopLevelUpdatePanelContents(HtmlTextWriter writer) +2450
       Microsoft.Reporting.WebForms.DelegatedRenderingControl.Render(HtmlTextWriter writer) +26
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) +354
       System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) +114
       Microsoft.Reporting.WebForms.ReportViewer.Render(HtmlTextWriter writer) +563
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.Page.Render(HtmlTextWriter writer) +40
       Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +1056
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
       System.Web.UI.Page.Render(HtmlTextWriter writer) +40
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290
    
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1008 

    I have installed the latest version of the 2012 Redistribution package to the server machine (v11.1.3366.16).  Any assistance with this would be helpful.

    Thanks, Shane

    Wednesday, October 30, 2013 2:32 PM

All replies

  • is this what you get?

    I hope they get this fixed soon I don't want user not to be able to get a report

    Windows 7 Professional X64

    IE 11.0.9600.16428IS RTM(KB2841134)

    SSRS 2012

    .Net 4.5

    works on other browser  but ie11 going to check if it works on windows 8 or 8.1 tonight if I can get on a computer with 8/8.1

    ------------------------------------------------------------------------------------------------

    An error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-42-130283238839943669. Most likely, the HTTP request contains an unsupported verb or invalid syntax. (rsHttpRuntimeError)

    • Value cannot be null. Parameter name: String

    ----------------------------------------------------------------------------------------------------------

    P.S

    report will open if you have it render as  PDF in the Code

    Thursday, November 7, 2013 9:08 PM
  • This is not unique to ReportViewer 2012. Same was true for ReportViewer 2010. I have tested both with the same results (IE 11 doesn't work, all other IE versions including 10 work). I am running the release IE 11 on Windows 7 64 bit.

    Compatibility Mode for the web site is a workaround until fixed.


    Pete

    Sunday, November 10, 2013 4:15 PM
  • As the default for Compatibility Mode is IE 7, you might want to add the following metatag to the head section of your web pages (I do it via master pages).  You still have to set the site for compatibility mode but at least it works and is viewable in as you saw it in IE 10:

    <meta http-equiv="x-ua-compatible" content="IE=10" />

    Hope this helps.  Would be nice if MS would fix this as this workaround to display as IE 10 in compatibility mode requires you to have access to the web site.  If there was a way to specify which IE version you want in compatibility mode (without going into Developer mode), that would be nice to know too.


    Pete

    Sunday, November 10, 2013 5:13 PM
  • SSRS 2012 still requires IE5 quirks mode. So add this in /ReportServer/Pages/ReportViewer.aspx

    <meta http-equiv="X-UA-Compatible" content="IE=5" >

    Additionally, add these styles

             
                                                      <style type="text/css" media="all">        .MenuBarBkGnd        {            -moz-user-select: none;            -webkit-user-select: none;            -ms-user-select: none;        }        .DisabledButton        {            border: none !important;            padding: none !important;        }        /*        .ParamLabelCell label span         {            background-color: hotpink;        }        */        .ToolBarButtonsCell table        {             display: inline !important;        }    </style>

    You absolutely need

    .ToolBarButtonsCell table display inline !important

    for it to work properly in IE 11...

    Tuesday, November 12, 2013 12:05 PM
  • When is Microsoft going to update the Report Viewer to support HTML5?  I've posted many times to different Microsoft forums over the last year with no response.  It's so FRUSTRATING!
    Monday, November 18, 2013 12:18 AM
  • While the IE=10 works when in compatibility mode, you can also fix this without having to go into compatibility mode or have the meta tag in the header if you are using asp.net for the site.  Add the following browser file to the App_Browsers folder in your web app:

    <browsers>
      <browser id="IE11Preview" parentID="Mozilla">
        <identification>
          <userAgent match="Trident/(?'layoutVersion'\d+).*rv:(?'revision'(?'major'\d+)(\.(?'minor'\d+)?))" />
          <userAgent nonMatch="MSIE" />
          <userAgent nonMatch="IEMobile" />
        </identification>
    
        <capabilities>
          <capability name="browser"              value="IE" />
          <capability name="layoutEngine"         value="Trident" />
          <capability name="layoutEngineVersion"  value="${layoutVersion}" />
          <capability name="extra"                value="${extra}" />
          <capability name="isColor"              value="true" />
          <capability name="majorversion"         value="${major}" />
          <capability name="minorversion"         value="${minor}" />
          <capability name="screenBitDepth"       value="8" />
          <capability name="type"                 value="IE${major}" />
          <capability name="version"              value="${version}" />
          <capability name="isColor"              value="true" />
          <capability name="screenBitDepth"       value="8" />
          <capability name="ecmascriptversion"    value="3.0" />
          <capability name="jscriptversion"       value="6.0" />
          <capability name="javascript"           value="true" />
          <capability name="javascriptversion"    value="1.5" />
          <capability name="w3cdomversion"        value="1.0" />
          <capability name="ExchangeOmaSupported" value="true" />
          <capability name="activexcontrols"      value="true" />
          <capability name="backgroundsounds"     value="true" />
          <capability name="cookies"              value="true" />
          <capability name="frames"               value="true" />
          <capability name="javaapplets"          value="true" />
          <capability name="supportsCallback"     value="true" />
          <capability name="supportsFileUpload"   value="true" />
          <capability name="supportsMultilineTextBoxDisplay" value="true" />
          <capability name="supportsMaintainScrollPositionOnPostback" value="true" />
          <capability name="supportsVCard"        value="true" />
          <capability name="supportsXmlHttp"      value="true" />
          <capability name="tables"               value="true" />
          <capability name="supportsAccessKeyAttribute"    value="true" />
          <capability name="preferredRenderingType"          value="html5" />
          <capability name="tagwriter"            value="System.Web.UI.HtmlTextWriter" />
          <capability name="vbscript"             value="true" />
        </capabilities>
      </browser>
    </browsers>

    This browser file will tell the system to use HtmlTextWriter instead of the default Html32TextWriter.  Believe it or not, that will make the ReportViewer display correctly (and also many ASP.NET tables, etc.).

    Pete

    Friday, November 22, 2013 12:15 AM
  • Hello,

    Reportviewer control is not looking in proper format in IE11, Have you got solution?

    If found the solution then please help me to resolve IE11 issue.


    • Edited by Amit m Friday, April 4, 2014 6:09 AM
    Friday, April 4, 2014 6:08 AM
  • We are using SQL 2012 and were able to resolve this issue by installing Internet Explorer 11 on the server.  We had Internet Explorer 10 and upgrading to IE11 resolved the issue.  
    • Proposed as answer by addamse Thursday, April 17, 2014 8:50 PM
    Thursday, April 17, 2014 8:50 PM