Reputation: 855
I have a main report and a subreport created in SSRS. On the report server (SQL Server Reporting Services) I have two folders:
Common
MainReports
The subreport is deployed in Common folder and the main report is deployed in MainReports folder.
How do I enable or change the report on Report Server to retrieve the subreport from Common folder?
The main report shows the subreport properly when both of them are in same folder, but when they are in separate folders I (naturally) get an "Subreport could not be shown" error.
Upvotes: 0
Views: 853
Reputation: 107
I had this same problem today. The context was pretty close to this.
I had 2 folders where the main report was deployed on folder A and the subReports on the folder B.
So, in the main report I had to change the "SubReport Properties" where in the field "Use this report as a subreport" I changed to "../folderB/subReport". This way it worked succesfully. I hope it helps someone.
Upvotes: 0
Reputation: 1724
I think you can use the following path defination ;
/Common/Subreportname/
Upvotes: 1