次の方法で共有


ReportViewer 2012 control not showing Print icon when viewed from IE 11 (Desktop mode)

Recently, I was working on a issue where you’ve ASP.NET web page with Report Viewer 2012 control and viewing it from IE 11, the print icon is by default hidden.

This happens especially under the following conditions:

1. You’re in report viewer control RTM version with build 11.00.3000.0. This can be verified by: Start –> Run –> type assembly. In the GAC folder view, locate the Assembly name: Microsoft.ReportViewer.WebForms with version 11.0.0.0.

Right click on the file and open properties. Version tab should show you the installed version.

2. You’ve updated the report viewer control to SP 1 with the build number 11.0.3366.16 but you’ve installed .NET Framework 4.5. (For .NET 3.5 please refer the last part of the post)

If you add the web page in compatibility mode, this issue will disappear but could break your web page formatting.

In order to fix this, ensure the following is taken care off:

1. Ensure ReportViewer 2012 SP 1 is installed on the web server that hosts the web page containing the Report viewer 2012 control or on the development machine where you’re developing the page while testing.

This fix can be downloaded from: https://www.microsoft.com/en-us/download/details.aspx?id=35747

2. Additionally, if .NET Framework 4.5 is installed on the machine, then ensure you have installed the .NET Framework 4.5.1 on the web server or on the development box.

https://www.microsoft.com/en-us/download/confirmation.aspx?id=40773

Once these two are done and the machine is rebooted, the Print icon should be visible and should work expectedly.

Even after these changes you don’t see the Print icon, then check if you’ve a custom App_Browsers folder in your deployed project directory. It is there, please do rename it to a different name so that the ASP.NET will continue to use the browser settings that comes with .NET Framework.

The above topic is only for ReportViewer control 2012.

If you’re using Reporting service 2012 Report manager or Report Server URL to view and print reports, then please install SQL Server 2012 CU 8 for SP 1. It will enable you to view reports WITHOUT adding the URL under the compatibility view setting in Internet Explorer 11.

If you’re using ReportViewer earlier than 2012, then the only option is either to upgrade to ReportViewer 2012 SP 1 or use it with compatibility mode.  

For .NET Framework 3.5:

If you experience the same issue with Report Viewer 2012 SP 1 but running on .NET Framework 3.5, then you need to install the following two patches.

https://support.microsoft.com/kb/2836943/en-us
https://support.microsoft.com/kb/2836942/en-us

Install them in the above order. It requires reboot after installation of those patches.

In both .NET Framework 4.5 and 3.5 scenario, ensure there are no App_Browser folder being part of your project deployment as it will make your application to incorrectly behave for IE 11.

 

HTH!

Happy Reporting!

Selva.

[All posts are AS-IS with out any warranty]

Comments

  • Anonymous
    January 07, 2014
    Thanks for this - it got us up and running again!

  • Anonymous
    January 07, 2014
    Glad we were able to get to the bottom of it, Selva.  Thanks for all your support along the way.  I have also blogged about it on my site: www.msigman.com/ssrs-print-icon-not-appearing-in-internet-explorer-11-not-able-to-print-reports-from-ie11

  • Anonymous
    February 27, 2014
    The comment has been removed

  • Anonymous
    February 27, 2014
    @Aji: My second part of the blog talks about a fix for .NET 3.5. But make sure you've upgraded the ReportViewer Control as well to 2012 SP 1 as i mentioned. HTH! Selva.

  • Anonymous
    March 02, 2014
    Thanx Selva for your response...But issue still exist,Im upgraded the Report Viewer Control as well to 2012 SP 1 and Install the two patches above order and restart after installation of those patches.

  • Anonymous
    March 02, 2014
    @Aji: I hope that both RV 2012 SP 1 and the patches are installed on the web server that hosts the web application. Is that right? If you still run in to the problem, then you need to open a ticket with Microsoft customer support team and they will be able to help you further with this. HTH! Selva.

  • Anonymous
    March 17, 2014
    The comment has been removed

  • Anonymous
    March 18, 2014
    @Aji: By any chance are you using the IE 11 in Mordern UI mode? If yes, then Active-X controls are unsupported in Mordern UI mode. Please use the IE 11 for desktop mode. While i'm typing the response for you, i can actually see the same message on my Mordern UI IE 11.

  • Anonymous
    September 10, 2014
    Hi Selvar, I also tried the solutions mentioned above and in your blog. however none of them work for me. I am using report viewer 10.0.0.0 and IE 11. please check below link for further details. Any help is appreciated. forums.asp.net/.../5773525.aspx

  • Anonymous
    September 10, 2014
    Hi Ranjit, I've mentioned the same in the above blog as well. Posting this again for your reference: "If you’re using ReportViewer earlier than 2012, then the only option is either to upgrade to ReportViewer 2012 SP 1 or use it with compatibility mode." There are neither any fixes nor any plans for RV 2010 or earlier version to be  compatible with IE 11. HTH! Selva.