Subreports in Report Viewer

Subreports in Report Viewer

Hello, I'm currently using Visual Studio for report viewer. In trying to create a very long report definition file, I ran into a problem which restricts the report body height to be limited at 1155.6 cm. I then looked into including multiple subreports in the main report. As such I have created two report definition files: In Visual Studio, I have inserted the subreport in the body: added the subreport to the solution like so: When I run the preview in Visual Studio, the subreport comes out fine. However when run in Runtime, the following error message appears: How can I fix this? Thank you in advance. edit: to my understanding, when opening a report definition file from the editor, the solution in Visual Studio is just a temporary one and adding a subreport to the list does not save. I would like to know if Runtime checks for a path for a subreport coded in the report definition file, and if so, where the default path is. If this is not the problem, please describe what the problem is.

This is a migrated post! Originally posted on 02.03.2020 by user katamon. Please be aware that information can be outdated.