Sub report have an event LocalReport_SubreportProce
Try this link too
http://www.gotreportviewer
Main Topics
Browse All TopicsI have an existing (working) report in my ASP.NET application that is rendered through the use of the LocalReport Class. This report currently has several parameterized subreports (all of which work). I had added two new subreports to the existing master but both error out and show "Error: Subreport could not be shown" when rendered.
In the ASP.NET application there is a function for setting up the rendering. It instantiates the datatables that feed the master report and subreports. It then instantiates a ReportDataSource for each datatable and then adds each of these to the DataSources collection of my instantiation of the LocalReport class.
I am able to pass one of the main Parameters passed into the master report to a subreport and display it. But as soon as I add a field to the report it breaks. I have looked at the underlying XML to see that the DataSources and DataSets for my "broken" subreports match the other working subreports.
I have tried using a very simple subreport with just one textbox connected to the same datasource that feeds the master report but it also results in the same symptom ("Error: Subreport could not be shown").
How can I debug/diagnose this?
I've run through this example...
http://www.developersdex.c
Its close but I think I have already determined that I have added the datasource for the subreport to the datasources collection of the master. Please tell me if I have not made that clear in my code snippets.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Sub report have an event LocalReport_SubreportProce
Try this link too
http://www.gotreportviewer
FYI, I am enhancing an application that was developed by another developer and this is the first time I *programmatically* build a SSRS report.
After adding the SubreportProcessing event handler, I discovered, by accident (by stepping through the code), that another event handler had been associated with the SubreportProcessing event and in the event handling function was where the previous developer had placed some of the DataSources. After I added my new datasources there my subreports started to show.
Thanks VikramMullick!!!
Business Accounts
Answer for Membership
by: CB_ThirumalaiPosted on 2009-03-16 at 19:22:11ID: 23904237
1. Try running the sub-report alone.
2. There may be a datamismatch with the underlying datasource OR the query that fetches the result may be erring out.
3. Check to see and execute the query in database if there is any error.