Hi,
I am trying to call a ssrs report on asp.net. but is getting errror here..
try
{
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://server/ReportServer");
ReportViewer1.ServerReport.ReportPath = "~/ReportProject1/CategoryReport.rdl";
DataSourceCredentials dsCrendtials = new DataSourceCredentials();
dsCrendtials.Name = "DataSource1";
dsCrendtials.UserId = "";
dsCrendtials.Password = "";
ReportViewer1.ServerReport.SetDataSourceCredentials(new DataSourceCredentials[] { dsCrendtials });
ReportViewer1.ServerReport.Refresh();
}
catch (Exception ex)
{
throw ex;
}