473,382 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

ReportViewer control: Error: subreport not showing

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?

Thanks,
Dean S

Feb 2 '08 #1
2 2893
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
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 &
"\rdlcReports\RptSpecial.rdlc"

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.

Rich

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Ellen Manning | last post by:
I've got an A2K report showing students and their costs. Student info is in the main report and costs are in a subreport for each student. The user inputs the program desired then only those...
4
by: dgk | last post by:
VS2005. I've spent two days trying to figure out how to do a simple master/detail report using ReportViewer and am just about ready to punt. This is something that really should have been...
4
by: Raghu | last post by:
I have developed a web portal that uses ReportViewer web control to connect to a remote SQL 2005 Report server and displays the reports on the client side. The asp.net page has been coded to...
4
by: MLH | last post by:
I have a report and on it, a subreport control Main Report Name: rptInvoiceMain Sub Report Name: rptInvoiceSubReport SubReport Control Name: rptInvoiceSubReportCtl The...
0
by: billygotee | last post by:
Hi, I'm having an issue with VS .NET 2k5. I have a master report that is the parent of several subreports (the report got too big to keep it all in the same report). For a while this worked...
0
by: billygotee | last post by:
Hi, I posted an issue previously that was entirely accurate. I have a master report called "MasterReport.rdlc" and a subreport called "Subreport.rdlc". MasterReport.rdlc has a single subreport...
3
by: KimberlyLord | last post by:
I have created a report and subreport in VB/ASP.NET. The report works fine but the subreport will not display. The subreport, when displayed as a standalone report, works fine. But when viewed as a...
1
by: ajaykhedekar | last post by:
I am Showing Mulitple MSRS Reports on Single ASP.Net WEB Page using Mulitple ReportViewer Controls. If User wants to Print the Reports, then user has to click Print button provided by ReportViewer...
0
by: Ang | last post by:
Hi all, I'm going to print out a user list, which some users has purchase sth and some users has not. Therefore I need to print a subreport if the user has purchase, no subreport when the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.