How to catch an error on ssrs report RRS feed

  • Question

  • User1679300671 posted

    Is there a way to catch the error occuring on the SSRS report (remote mode). For example when i do not enter any value for the parameter which is required, the report give the "Parameters Error". So is there a way I can catch it in the code behind ?

    I am using reportviewer 2010. I want to get this error as I am not displaying "ShowParameterPrompts" on the reportviewer. I have a custom page where user enters the parameter values and I pass them to the report using setparameters

    Following is how I am running report inside reportviewer

    SSRSReportViewer.ProcessingMode = ProcessingMode.Remote
    SSRSReportViewer.ServerReport.ReportServerCredentials = New ReportCredentials(reportUser, reportPassword, reportDomain)
    SSRSReportViewer.ServerReport.ReportServerUrl = New Uri(reportServer)
    SSRSReportViewer.ServerReport.ReportPath = reportParams.ReportLocation
    SSRSReportViewer.Visible = True
    SSRSReportViewer.ShowParameterPrompts = False


    Thursday, July 12, 2012 11:43 AM

All replies

  • User306743125 posted

    You'll have to check the values before generating the report

    Monday, July 16, 2012 4:30 AM