How to handle ERROR: subreport could not be shown of a subreport.

  • I need to be able to handle a subreport that displays ERROR: subreport could not be shown. I have a main/parent report that has a column and passes a value to a parameter in a subreport. This subreport receives either a database or server parameter. Now, when the subreport failes to connect, I need to be able to handle the ERROR: subreport could not be shown on my main/parent report or in the subreport itself. "ERROR: subreport could not be shown" is a normal result but I am trying to find a way on how to handle it better by providing a different message, subreport or not display at all. Please help, any version of SSRS is fine because I have all of them.

  • There is no way to capture RS errors if you are using SSRS report manager. On the other hand, if you are using the report viewer control, you may have a higher chance of capturing the errors by leveraging Try-Catch block, as far as i am aware of

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply