SSRS Report - Subreport can't be found - reporting-services

Ok, I have an SSRS report that has 2 subreports in it. One works just fine and the other works in testing but when I publish the report to my AMS platform under their instructions, the subreport comes up saying it can't be found. I can run the report through Visual Studio and it works just fine without a problem and I have rebuilt the entire project a few times and republished but I still keep getting the same error. I know that the publishing is working because I made a change to the main report to expand the subreport area and allow me to see the full error and that published fine. Any reason this would work through Visual Studio but not when published? The report along with the 2 subreports all are in the same directory as well.
Additional note to this. I just went to the master report in Visual Studio and deleted the subreport from it. I then re-added it and gave it a different name. Rebuilt the report and re-uploaded it including the already uploaded sub report and I am getting the same error but the error is referring to the new name I gave the subreport so it picked up the name change but not the actual sub report for some reason

Sometimes SSRS website caches your old report and doesn't get overridden by your new reports. On the SSRS website, try removing all of your reports including the main report. Then re-deploy.

Related

SSRS Report not updating in Preview in Visual Studio

I've never seen this problem before.
The report elements are not updating from changes made in the Design mode in Visual Studio (2015). It's not a data issue - even static text box changes are not appearing.
I had removed the Member ID column, combined the last and first names into a single Member Name column, added a couple of columns and renamed SEX to Gender. Here's the Design view.
These changes should appear when I click on Preview but Visual Studio displays the old report.
As I mentioned, I haven't seen this before and haven't found any similar issues when using Google-Fu. I have tried restarting VS but that was no help. The only thing I did to get from the first pic to the second is to press the Preview button in Visual Studio. I've been trying to make it update for over half an hour now. I've updated and created hundreds of SSRS report over the last 15 years but have never seen or heard of this issue.
Is there some new preview caching that SSRS is now doing? It seems similar to the dumb data caching issue but I don't see where the report would be cached. This is completely ridiculous - what moron would create a caching for something being developed so changes can't be viewed?
How can I see the correct preview in my SSRS report in Viusual Studio?

SSRS showing different data in reportserver and Microsoft Visual Studio

In Microsoft Visual Studio when i run a Report using a Preview the data is showing and when the same report i run from server side its not showing the same data as per the Visual Studio Preview
please suggest
Visual Studio caches locally data in order to reduce the generation time for design puroposes, it will only update the data if you change the parameters values so if your report doesn't have any parameter you will get old data.
To refresh Visual Studio data preview the report and press the refresh button inside the generated report.
Let me know if this can help you.
I had a very similar problem. When I previewed on VS 2015, everything displayed perfect, but when I deployed to my server successfully, only one field wasn't showing up.
What ended up working was changing my report data sets from shared to embedded. Even though they were referencing the same query, somehow there was a disconnect when referencing the shared data set rather than embedding it directly in the report.

SSRS 2008 - Error opening Report that has subreports in Report Manager - Object reference not set to an instance of an object

This is the scenario.
A report was working fine in SSRS 2005. It has 4 subreports, one of which has two subreports.
The server got upgraded to 2008 (not R2). Now the reports returns
>An error occurred during client rendering.
>An error has occurred during report processing.
>Object reference not set to an instance of an object
After some debugging and playing around, I found that the report works if I remove the subreports. All of them use just one parameter, which is being sent from one of the main dataset fields (userID).
Weird thing is that, testing this same report in another report Server which is 2008 R2, the report works perfectly...
Any hint?
Thanks
I'm in 2015, but same problem. Turned out my report had a space as the last character of its name. Removed that and it worked.
Try changing from a shared Dataset to an embedded Dataset. I say this because after struggling the whole day with this error and resolving it by redoing my drillthrough report which took me about 45 minutes. I just inadvertently recreated this error. This happened when I changed one of my main reports from referencing an embedded dataset to a shared dataset because I did not want to have embedded code if the code was used by multiple reports. Note, this shared dataset is not a stored procedure, the code is inside Visual Studio, I am not sure if this has anything to do with it. Just thought I should mention that. Anyways I resolved this issue by copying the code and reverting back to an embedded dataset and the error was gone.

Sub-Report giving error: Report cannot be shown

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.
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

How to refresh subreport on Reporting Services

Is there any way to refresh a subreport in Reporting Services?
When I change something on a subreport file and back to the main report, I have to delete the subreport object and include a new instance again to get my preview updated.
Is there any way to update the sub report object in the main report without having to delete and include the same again?
Actually I think the answer is to ensure that you preview or rebuild the sub-report before you view it in the parent report.
The simplest way to rebuild a subreport is to preview it in BIDS, but you can also right-click | build on the report in the Solution Explorer. Alternatively, rebuild your whole report project if that's easier than rebuilding individual reports.
In BIDS, in your top level report, you should have a Subreport object. That object is essentially just a pointer to another rdl in the project. This should update automatically. What i think you're seeing is BIDS loading a stale version of the subreport. If this happens try closing BIDS all the way down and open the project back up again and rerun the parent report. It should have the updated subreport.
This is all assuming that you've got a report project in bids with standalone reports instead of embedding reports in aspx pages.
I realize this is an old post, but as can happen, I was someone with the issue as well and landed here through searching google. I'm not sure if the OP is using Visual Studio 2008 like one of the commenters is, as am I, but what I found is that while preview on the main report is not showing an updated sub-report, I can see the update by right clicking on the main report in the solution explorer and selecting "run". It doesn't seem to take much longer if at all to open the separate run window.