Click here to Skip to main content
13,254,187 members (61,319 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello all,
I have created a report in my Visual Studio 2010 program. This report uses SQL data that is retrieved within the program and put into a class.

I have managed to get this going and this part works fine, however I then created another report, which will be viewed inside the original report as a Sub Report.

The Sub Report has the correct dataset linked in and all looks OK, but the SubReport object on my original report will not show the SubReport!

May sound confusing but its quite hard to explain, please give me feedback or help!

Posted 8-Jan-13 0:45am
thomasriley 8-Jan-13 6:07am
I'm getting this error on the print preview of the report during debugging:

Data retrieval failed for the subreport, 'rptSubOwnership', located at: HWReportView.rptSubOwnership.rdlc. Please check the log files for more information.

^ Does anyone know where these 'log files' may be?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


I think i found something that answers the 2 issues you are facing.
1.How to configure a sub report.
2. Where are the log files?

check it out here[^]

If you are linking to SQL 2008 default log files location should be C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
thomasriley 8-Jan-13 9:32am
Thanks VitorHugoGarcia,
appreciate your response, I'll have a look :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171114.1 | Last Updated 8 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100