473,668 Members | 2,491 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2903
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.Lo calReport.Repor tPath = Application.Sta rtupPath &
"\rdlcReports\R ptSpecial.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
3566
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 students in that program are printed. I want the subreports headings to print only for the first student on the page. Is there a way to suppress printing of the headings on subsequent students on that page? I tried the following in both the...
4
4470
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 drag/drop/relationship but no. I've finally figured out that I need to use a subreport but I can't figure out how to set the datasource of the localreport object since it only seems to want a datatable and I have a function that is returning a list (of...
4
7724
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 automatically impersonate a specific user who has access to the report server so that the customer don't get a pop-up asking for login credentials. Once the report has been displayed in the Report viewer control, I am getting an error when I click on...
4
3273
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 subreport contains 2 fields - a text field where line items sold are listed and a currency field where the price per item is shown. The subreport control displays these two fields when the main report is opened.
0
1513
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 fine, the BuildAction property of each was set to Embedded Resource, and the subreport name was all I needed to change in the master report for each to be displayed (I handled the SubreportProcessing event to deal with data sources).
0
11597
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 with name Subreport and refers to Subreport.rdlc. I add a data source in the VS 2k5 report environment to Subreport.rdlc. This data source has name "SubreportInfo" and is an object of type SubreportInfo. First, say I set my...
3
35641
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 subreport I get the error that the datasource for the subreport is missing. I set a breakpoint in the sub that should set the subreport's datasource and the breakpoint is never hit. I have added a handler like shown in many examples. Why is the...
1
2243
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 Control multiple times, So I want to do this with one button Click.This Button Click event will handle the Printing process of ReportViewer Control. In Case of CrystalReportViewer we have direct functions as "PrintReport" and "ExportReport" to Print...
0
1279
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 user no purchase before. So how can I disable a subreport(or its table header) in reportviewer? (By using expressions? can anyone show me an example?)
0
8381
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8893
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8799
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8586
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7401
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2026
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.