reporting services - programatically getting SSRS hosted on Azure VM -


I am migrating your SSRs posted on Azure VM to SSRS posted on Azure SQL reporting. I have successfully created a VM and posted my report, which can be viewed from the browser. Now my requirement is that I want to programmatically get reports in PDF or Excel format. That requires fine work for the past one year but as I have done V.M. When I moved into ReportViewer.ServerReport.GetParameters ()

The method threw exception to 401 unauthorized access I currently certify my user to get the report in PDF or earlier To be used below the class,

  public class SSRS reportport certificate: IReportServerCredentials {public SSRSReportServerCredentials () {} Public WindowsIdentity ImpersonationUser {get {return null; }} Public ICredentials Network credentials {get {return null; }} Public Bull GetFormsCredentials (Outside Cookie Auth Cookie, String Out User, String Password Out, String Authorization) {authCookie = null; User = bit; Password = test; Authorization = server Reporting.windows.net; Back true; }}  

Can anyone help me in fixing my production problem?

Best regards, Zeeshan

Public Class SSRS Reportport Certificate: IReportServerCredentials {Public SSRSRP server server credentials} {} Public WindowsIdentity ImpersonationUser {get {return null; }} Public ICredentials Network Credentials {Get New Network Credentials (Web Configuration Manager. AppSettings ["userName"], Web Configuration Manager. AppSettings ["Password"]); }}

GetFormsCredentials (outside cookie auth cookie, string out user, string password outside, string authorization outside) {authCookie = null; User = null; Password = null; Authorization = zero; return false; }}

Comments