I have a report that is called from a text box action. When I run the report in my Visual Studio looking at production data I get 9 records returned. When I deploy the report and run it I only get 5 records. I have deleted the report on the report server and re-deployed but I am getting the same results. I have added a footer and removed columns and changed heading so I know that the version that is on the report server is the one in my Visual Studio project. I have checked all the filters on the matrix and can't figure out why the report doesn't match.
Any suggestions on where else to look for why the data isn't matching?
Related
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.
I took over report creation/maintenance at a new job. We are using SQL Server 2012 and SSRS 2012. When I try to edit one of the older reports using Report Builder I find I can't even add a comment to some of the code in a dataset without breaking the report. This particular report has 14 parameters and all I have to do is try to add a comment line (never mind change the code) to a dataset and click OK to close the dataset edit it presents this DEFINE QUERY PARAMETERS prompt to verify the parameters. If you click OK then all the fields disappear from under the dataset in the Report Data window and the report doesn't work.
Running the report itself without trying to apply any edits still works fine, it's the editing that breaks it. I can edit other previous reports, it's just this particular report that's showing this behavior.
Finally figured it out after all this time. The SQL for this dataset has at least a dozen IF-THEN statements spread throughout the code, that keep checking for a certain input parameter that was selected. I finally simplified the previous report writer's code into one big IF-THEN-ELSE statement and now the dataset can be edited in Report Builder and Visual Studio with no problem. I'm guessing something changed in Microsoft's SSRS parsing routine between when this report was written in 2018 (where it had no problem with all those IF-THEN statements) and 2020, when the parsing failed but with no helpful error message.
I have a dataset that fetches data from SSAS cube using MDX query, I executed and confirmed that the MDX query retrieves measure values in SSMS Query Designer. However, when I drag the fields onto a Table in SSRS report, only the dimension values appear but not the measure (it shows up empty).
I believe this is an issue specific to Visual Studio 2017, the SSRS report displays the measure values fine when run in Visual Studio 2015.
I have only started encountering this issue in the last two days. Before that the report was displaying values correctly in Visual Studio 2017.
Please provide steps to fix this issue.
Rebuild rdl file in VS 2017 - the issue is probably because of different default xml schema versions.
If I run a report within SSRS developer, I show no subtotals in specific rows, exactly as it should because there is nothing to subtotal. However, if I deploy the report, those same rows have an erroneous subtotal in them. I ensured I deployed and ran the correct report. I even deleted the report and re-deployed. I need to correct this because it is an important report that gets emailed to the entire company.
I believe This is very classic case of Data been saved as Cache in your local System. But when you deploy the Report, there is actual Data available on application.
What you need to do is delete this FileName.rdl.data file and try your report again in Developer, it should get update data from application
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