Reporting services printing crashes IE

余生长醉 提交于 2019-12-03 06:19:13
wruckie

Let me guess, you are running SQL Server R2 without SP2. I had to upgrade to SQL Server 2008 R2 SERVICE PACK 2.

The version of RsClientPrint you get with R2/SP2 is 10.50.4000, while the RTM version I had was 10.50.1600.

To see what version of SQL server you have, run Select @@version as a query in SSMS.

You can read more here. ReportViewer's Print Button Incompatible with IE 10?

Resolution to fix IE11 from crashing

If you get the RSClientPrint.cab from a 2008 R2 "C:\Program Files (x86)\Microsoft SQL Server\MSRS10.GENERAL\Reporting Services\ReportServer\bin" and extract it to your desired client machine. Use these files to either create your own bat file and run it or just copy them to your "C:\windows\Downloaded Program Files".

Once your files are copied to "C:\windows\Downloaded Program Files" You will need to register your .dll: In CMD type - regsvr32 "c:\Windows\Downloaded Program Files\RSClientPrint.dll"

Issue 1: "C:\windows\Downloaded Program Files" is usually locked

Resolution: In CMD type - attrib "C:\windows\Downloaded Program Files" -S

Issue 2: Error message found when registering your dll file

Resolution: Run CMD as Admin

Bat file to run locally

 @echo off

    set srcpath= c:\pathname

    attrib "C:\windows\Downloaded Program Files" -S

    xcopy %srcpath%\*.* "c:\Windows\Downloaded Program Files" /Y

    regsvr32 "c:\Windows\Downloaded Program Files\RSClientPrint.dll"

From a server to a client machine:

@echo off


attrib "C:\windows\Downloaded Program Files" -S

robocopy "\\dc01\packages\rsclientprint" "c:\Windows\Downloaded Program Files"

regsvr32 "c:\Windows\Downloaded Program Files\RSClientPrint.dll"

This is an general IE10 issue that affects both x32 and x64 versions when trying to print a PDF document from the browser.

A workaround is to open Adobe Reader or Acrobat (whichever is your default), go to Edit > Preferences > Internet, and uncheck "Display PDF in Browser".

Internet PDFs will now open by default in Adobe instead of the screwed up IE10.

Try running internet explorer as Administrator or Add your report server url to internet explorer Trusted sites.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!