Error: Subreport could not be shown. Sub Report works in Preview - but not when deployed

走远了吗. 提交于 2019-12-07 04:08:34

问题


I have a main report that runs multiple sub-reports. One of my sub reports runs perfectly fine in Preview, but when I deploy the report and run it from the browser, i simply get:

Error: Subreport could not be shown.

I've done some research and I am still not sure what the issue is. I've tried it in different browsers, my data sources for both the main report and sub report use the same shared data sources. And the main report and the parameters seem to pass fine (since it works in preview, I am assuming).

The error doesn't tell me much - has anyone else had this issue? Or any ideas how to debug? Many thanks!


回答1:


Issue resolved. I needed to deploy my subreport as well, not just build.




回答2:


Check the parameters of the Sub Report. Correcting them appropriately will make it working.




回答3:


If you are working with multiples servers, be careful of where the datasets for all the sub reports are pointing to.



来源:https://stackoverflow.com/questions/16514186/error-subreport-could-not-be-shown-sub-report-works-in-preview-but-not-when

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