locked
Adding subreport to ssrs 2008 RRS feed

  • Question

  • 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
    Monday, November 15, 2010 4:10 PM

Answers

  • 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 by Dan1104 Monday, November 15, 2010 5:00 PM
    Monday, November 15, 2010 4:39 PM

All replies

  • 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.
    Monday, November 15, 2010 4:31 PM
  • 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 by Dan1104 Monday, November 15, 2010 5:00 PM
    Monday, November 15, 2010 4:39 PM
  • 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,

    dan1104


    Dan1104
    Monday, November 15, 2010 5:00 PM