By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,423 Members | 1,601 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,423 IT Pros & Developers. It's quick & easy.

ReportViewer control: Error: subreport not showing

P: n/a
With VS2005/Vista using the ReportViewer control, on my development PC I
have a report with an embedded subreport. The report/subreport runs fine in
VS test as well as ClickOnce deployed on the development PC. However, when
ClickOnce deployed on user PC's over a network, the report runs, but in the
subreport area is the message: "ERROR: subreport could not be shown".

If the report can run as deployed by ClickOnce on my PC, then I tend to
think that it is not a parameter problem.
Could it be a ClickOnce deployment bug? Or, any other suggestions?

Dean S

Feb 2 '08 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Did you resolve this problem? I m still trying to find out how to have subreport in a report and how to link them, i have to do a report with many subreport and just can[t find samples or materials...
Jun 27 '08 #2

P: n/a
I haven't had much luck embedding reports and deploying. When I use
Click Once, I will copy the rdlc file (the report file) along with the
application (select copy content always instead of embed). The only
trick here is that you have to specify the path in the code of your
application like:

reportViewer.LocalReport.ReportPath = Application.StartupPath &

I have added a subdirectory in the bin/Release and bin/Debug dirs so
that everytime the app gets compiled -- a copy of the rdlc gets copied
to this(these) directories.



*** Sent via Developersdex ***
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.