I have two reports that I created in a ssrs 2008 report project. Repoat A and Report B and they both work fine on there woen, but I need to make Report B a subreport in Report A, so created the subreport and pass the parameters from Report A to Report B,
but when I run Report A in preview I get the "Error: Subreport could not be show", what causes this error and how can I get Report B to work as a subreport?
Yes, I get a "report parameter CompanyCode is read-only" error, I changed the parameter in the subreport from internal to hidden, and I still get the same error.
thanks.
Dan1104
Marked as answer byDan1104Monday, November 15, 2010 5:00 PM
Hello, if you preview in Visual Studio, a more specific error message should be displayed in the error console. If the subreport functions fine when ran alone then likely there is something wrong with how the parameters are being passed to it such
as a missing parameter.
Yes, I get a "report parameter CompanyCode is read-only" error, I changed the parameter in the subreport from internal to hidden, and I still get the same error.
thanks.
Dan1104
Marked as answer byDan1104Monday, November 15, 2010 5:00 PM