I've set up a number of reports in SSRS. Each of these reports are well designed and work as expected.
A request was made to have a number of these reports tied into a single "master" report. I've set up the working reports as subreports, and populated all parameters of the first subreport from the "master" report. I have checked and double checked this fact.
When I attempt to run the report processing seems excessively long. In place of the first subreport SSRS renders Error: Subreport could not be shown.
I checked the log file and I'm getting an error:
processing!ReportServer_0-3!e58!04/11/2016-19:42:15::e ERROR: An error has occurred while processing a sub-report. Details: One or more parameters were not specified for the subreport ... Report.Stack trace: at Microsoft.ReportingServices.OnDemandReportRendering.SubReport.FinalizeErrorMessageAndThrow() at Microsoft.ReportingServices.OnDemandReportRendering.SubReport.RetrieveSubreport()
I've also checked the ReportServer ExecutionLogStorage and I can see that all of my parameters are populating in the parameter column. The parameter string is running about 5k characters.
Some more details: The subreport contains 7 parameters:
- Administrator - single value
- ReportDate - single value
- ClientStatus - multiselect
- DeptStatus - multiselect
- Client - multiselect
- AccessType - single value
- DataOnly - single value
These parameters are mirrored in the "master" report. I've tried passing the multiselect parameters using both =Parameters!ClientStatus.Value
and the =Split(join(Parameters!ClientStatus.Value,","),",")
method, but I'm honestly not sure which parameter is missing from the subreport. That information isn't recorded anywhere as far as I can tell.
We've mostly abandoned this combined, "master" report, but I'd like to stay on top of this as I'm wondering if it might affect other reports in a more subtle way.
If I can provide more information, please let me know.
=Parameters!ClientStatus.Value
but when I view it in the parameters menu of the subreport properties window the expresion above translates to[@ClientStatus]
. I've set up a multiselect parameter like this before and it worked out fine. – MattB