SSRs reportviewer: Unable to load Client Print Control

Source: Internet
Author: User

After searching for a few days, I finally solved the problem through the following article (download SP )... No translation available.

 

 

From time to time I post fixes that I have found that aren't on the net. it's so others don't have to go through the same aggravation as myself. this one relates to SQL Server Reporting Services (SSRS ). more precisely we have an ASP. NET application written in C # that uses the report viewer control to show reports. however, when you want to print the report you need to run an ActiveX print control. if you remove this from Internet Explorer, ie can't load it any more.

First check to make sure these 2 updates are installed

Microsoft report viewer redistributable 2005 Service Pack 1
Microsoft report viewer redistributable 2008 Service Pack 1

You must restart IIS after installing these. There are older versions available so make certain you have Service Pack 1 editions.

If you are still having the issue, try the following fixes.

Fix #1-Simplest

We are running the 3.5 framework. I'm not certain that was a prerequisite though. We simply change the version of the component from 8 to version 9. Open all your Aspx pages and replace

Register Assembly = "Microsoft. reportviewer. webforms, version = 8.0.0.0

With

Register Assembly = "Microsoft. reportviewer. webforms, version = 9.0.0.0

Fix #2-This fix simply got the 8.0 version of the control to re-download.

Part 1
Add you site to the trusted sites.

I ran the following parts as well. Each consists of a few steps. I'm not sure if Part 2 was needed.

Part 2
----------------------------------
Step 1:
Paste the following text in a text editor such as Notepad. then, save the file by using. reg file name extension. you can apply this. reg file to client system by double-clicking it.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/software/Microsoft/Internet Explorer/ActiveX Compatibility/{FA91DF8D-53AB-455D-AB20-F2F023E498D3}]
"Compatibility Flags" = DWORD: 00000400.

Step 2:
On the client systems which face the issue, this cocould be tested out-
1. unregister rsclientprint. dll
2. Open Internet Explorer
3. Got to tool-> Internet Options.
4. Click on 'props' Tab
5. Click on 'Manage add-ons '.
6. Select and delete the 'rsclientprint class' ActiveX control if it exists
7. Select 'security' tab.
8. Select 'intranetzone 'and click on 'customlevel'
9. Enable 'automatic prompting for ActiveX controls'
10. Select 'propt' for 'Download signed activexcontrols 'and 'run ActiveX
Controls and plug-ins'
11. Restart the Internet Explorer
12. Try to print the report, this time it shoshould prompt you to run the ActiveX
Controls and plug-ins.
13. Click 'yes'

Part 3
----------------------------------
Step 1:
Paste the following text in a text editor such as Notepad. then, save the file by using. reg file name extension. you can apply this. reg file to client system by double-clicking it.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/software/Microsoft/Internet Explorer/ActiveX Compatibility/{FA91DF8D-53AB-455D-AB20-F2F023E498D3}]
"Compatibility Flags" = DWORD: 00000400.
[HKEY_LOCAL_MACHINE/software/wow6432node/Microsoft/Internet Explorer/ActiveX Compatibility/{FA91DF8D-53AB-455D-AB20-F2F023E498D3}]
"Compatibility Flags" = DWORD: 00000400.

Step 2:
On the client systems which face the issue, this cocould be tested out-
1. unregister rsclientprint. dll
2. Open Internet Explorer
3. Got to tool-> Internet Options.
4. Click on 'props' Tab
5. Click on 'Manage add-ons '.
6. Select and delete the 'rsclientprint class' ActiveX control if it exists
7. Select 'security' tab.
8. Select 'intranetzone 'and click on 'customlevel'
9. Enable 'automatic prompting for ActiveX controls'
10. Select 'propt' for 'Download signed activexcontrols 'and 'run ActiveX
Controls and plug-ins'
11. Restart the Internet Explorer
12. Try to print the report, this time it shoshould prompt you to run the ActiveX
Controls and plug-ins.
13. Click 'yes'

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.