Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
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!
 
Thanks,
Tom.
Posted 7-Jan-13 23:45pm
Comments
thomasriley at 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
good
Please Sign up or sign in to vote.

Solution 1

Thomas,
 
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 http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/0dd5de0f-b6bc-4469-b742-f41bbaa7c80e[^]
 
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
  Permalink  
v2
Comments
thomasriley at 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
0 Sergey Alexandrovich Kryukov 430
1 Gihan Liyanage 347
2 ClimerChinna 222
3 vikinghunter 176
4 OriginalGriff 151
0 Sergey Alexandrovich Kryukov 8,373
1 OriginalGriff 7,112
2 CPallini 2,598
3 Richard MacCutchan 2,025
4 Abhinav S 1,788


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 8 Jan 2013
Copyright © CodeProject, 1999-2014
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