Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to load client print protocol

Status
Not open for further replies.

sprado

Programmer
Jun 19, 2008
7
US
Hi guys!

I've got a MS reporting services report that i want to print straight from ie. When i open the report and click on the printer button, it comes up with an error message that says "Unable to load client print protocol". What does this mean and how can this be fixed?
 
The client machine needs an ActiveX downloaded and installed. Whatever computer you are using does not have administrator rights.

--------------------------
Web/.net Programmer & DBA
Central PA
 
I've already installed Microsoft Report Viewer Redistributable 2005, and its SP1.
Give me another solution please.
S.
 
Does the client machine have admin rights? If it does, the client's browser will automatically download an ActiveX control to print. This is not the same as the RVR! The RVR is only for viewing the reports, not printing them in a browser. At least that's my experience with it. I used to get the same error until I loaded the report and clicked on the print button with admin rights. It's worked fine ever since. Once it was installed, it is safe to put the rights back to non-admin as well.

Here is a link with the same error in MSGP, but it's essentially the same thing.

--------------------------
Web/.net Programmer & DBA
Central PA
 
I've consulted that article before.
Actually, it seems to be about security access from IIS host is and the remote SSRS server.
Is there some way to configure the web.config in order to accomplish this?
Thanks in advance.
 
Are you running this from the server or an asp.net project?

--------------------------
Web/.net Programmer & DBA
Central PA
 
Does the error come up whether you click on it on the Report server or the asp.net page? If it does it either way, I'd say it's a problem with the browser or the server. I'm really not sure. Usually the server and .net applications use separate ActiveX/Com objects.

--------------------------
Web/.net Programmer & DBA
Central PA
 
When I click print report button from my browser, the report print is successful. However, in my asp.net page:
___________________________________
<%@ Page Language="C#" MasterPageFile="~/Home.master" AutoEventWireup="true" CodeFile="rptProduction.aspx.cs" Inherits="Members_PM_User_rptProduction" Title="Untitled Page" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphBody" Runat="Server">
<!-- #include file="nav.aspx -->
<rsweb:reportviewer id="rvProduction" runat="server" backcolor="#E9D9B7" font-names="Verdana"
font-size="8pt" processingmode="Remote" sizetoreportcontent="True"
toolbaritembordercolor="161, 152, 143" toolbaritempressedbordercolor="161, 152, 143"
width="100%" ShowRefreshButton="true">
<ServerReport ReportServerUrl=" ReportPath="/Reports/Production"></ServerReport>
</rsweb:reportviewer>
</asp:Content>
___________________________________

where "vulcan" is a remote (accessible) report server, and Production is just one of my reports, when I run my asp.net application or I deploy in other IIS, the message "Unable to load client print protocol" appears when I try to print the report via Print Report button.
Curiously, some time ago the same way on printing was successful both from my asp.net app and in IIS deployment server.
Probably I'm missing something, because I've been reading that asp.net app must impersonate the user to flow the user credentials to the Report Server, but I've declared in web.config on this way:
_______________________________________
<identity impersonate="true"/>
_______________________________________
also, i've tried with:
_______________________________________
<identity impersonate="true" userName="rcrnet\xxx_user" password="xxx_pass"/>
_______________________________________
and of course, these credentials are valid in the Report server.
Your help is very welcome.

PS: Sorry my English please.
 
Check if that computer has installed the MS patch KB956391, in positive case uninstall that patch, that don't allow your IE browser load the necessary ActiveX to print a reports developments in MSRS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top