Click here to Skip to main content
15,891,981 members
Please Sign up or sign in to vote.
4.00/5 (1 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!

Thanks,
Tom.
Posted
Comments
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

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
 
Share this answer
 
v2
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900