Sub-Report giving error: Report cannot be shown

不问归期 提交于 2019-12-23 01:37:12

问题


I have a SSRS Report with six sub-reports. The sub-reports are using the same shared data source which the main report is using.

When I deploy the report and execute, the sub-report place holder shows error: Report cannot be shown.

I thought it could be due to shared data source. Therefore, I created separate shared data source for each sub-report. This works. The report starts showing all the results.

Please let me know what is this issue. Even though it works, I don't want to create separate shared data source for each sub report.


回答1:


This is a known defect in SSRS 2008. I'm not sure if it has been patched yet, but it has been fixed in SSRS 2012.

As you have found, the workaround is to use separate datasets.

https://connect.microsoft.com/SQLServer/feedback/details/648560/subreport-with-shared-dataset-throws-error



来源:https://stackoverflow.com/questions/27844534/sub-report-giving-error-report-cannot-be-shown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!