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
How to connect remote server in sql server reporting??
This code will help u to connect to remote server to use sql server reporting


Join the conversation! Your thoughts help the community grow.