Adding subreport to ssrs 2008
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? Thanks, Dan1104 Dan1104
November 15th, 2010 11:13am

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.
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2010 11:34am

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
November 15th, 2010 11:42am

I found my problem, I changed the parameter from intetrnal to hidden,but I forgot to re-deploy the report. Question, if I'm in BIDS, why does the subreport need to be deployed to my report server before I can use it? Thanks, dan1104Dan1104
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2010 12:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics