Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 how to set proxy credentials in report viewer cont

Author  Topic 

arnabsinha_add
Starting Member

2 Posts

Posted - 2010-04-09 : 11:15:17
I am using "report viewer control" to view "server report" in my "windows .net application" which is working fine. But when i access report server through a "proxy" then it is not working. How can i set the proxy credential, proxy address, proxy port to the report view control.

My code:-

this.rvViewReport.ServerReport.ReportServerUrl = new Uri("ReportServerUrl");
this.rvViewReport.ServerReport.ReportPath = "ReportPath";

//Now i set the Credentials for Basic Authentication Credential:-
this.rvViewReport.ServerReport.ReportServerCredentials.NetworkCredentials = new System.Net.NetworkCredential("UserName", "Password");

this.rvViewReport.ServerReport.SetParameters(rptParameterList);
this.rvViewReport.RefreshReport();

arnabsinha_add
Starting Member

2 Posts

Posted - 2010-04-12 : 02:07:14
Can any one please give me the solution. Please help me out.
Go to Top of Page
   

- Advertisement -