How to connect remote server in sql server reporting??


ReportViewer1.ShowParameterPrompts = false;

ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;

// To connect to server we user this code:
//@ is user to access web server

ReportViewer1.ServerReport.ReportServerUrl = new Uri(@"http://myserver/ReportServer$directory_name");

ReportViewer1.ServerReport.ReportPath = "/rptReportName";


Thanks



Next Recommended Reading How to use BarCode in RDLC based Report