I have tried and i am getting error "The request failed with HTTP status 401: Unauthorized."
report viewer rptViewer.ProcessingMode = ProcessingMode.Remote; rptViewer.ServerReport.ReportServerUrl = new Uri(ConfigurationManager.AppSettings.Get("ReportServerUrl")); string strReportLayout = Convert.ToString(s1["strReportLayout"]); rptViewer.ServerReport.ReportPath = ConfigurationManager.AppSettings.Get("ReportServerProject") + "/"+strReportLayout; //Passing the Report Path IReportServerCredentials irsc = new CustomReportCredentials("sqldbusername", "sqldbpwd", "serverIP");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)