We have 1 report that's being exported to PDF manually in the web page.
However, when we update a certain value, the new value can be seen in the table but when we tried exporting the data, it keep showing the old value in the report.
The stored procedure used in the report is showing the new value.
It works fine when running the VS 2013.
I am not sure if caching is enabled in our report server but in that RDL file, we did not explicitly specify to cached the data as shown below.
Processing Options Screenshot
Snapshot Options Screenshot
Parameter Settings Screenshot
There are no RDL.Data files in the report server as well and other reports are extracted to PDF and its working fine.
Do you have any idea or did I missed something that needs to be checked?
Thank you.
I am developing SSRS reports in Visual Studio 2015. This happened before in the SQL Report Builder.
When I try and preview the report is doesnt show any of the value. However exporting the report does show the values.
This is really annoying as I have to export the report to see my results.
Has anyone come across this or have a possible solution?
One thought that comes to mind is the data cache issue. Have you tried:
1) Clicking the "Refresh" button on the report after it is ran because I believe that refreshes the data cache
2) Via File Explorer navigate to where the .rdl file is and find the .data file for the report and delete it then run the report.
3) As per the comments below: In VS2015 just clean the project, it deletes the .data files.
i am using ssrs report ,and i have some problem in that when i try to open report using report viewer report showing a blank page but report export to pdf working fine blank render report also Export successfully and print also it is working fine
but the problem is in report viewer report not render and it is showing blank page if i try to find something or some key word if i enter to find that all report are render properly .
in report server if i try to open the report it is showing blank.
Sounds like a browser problem, the reports that i create on ssrs 2008 r2 only seem to render correctly on Internet Explorer.
Check your parameters, If any are unhidden or set to prompt user then SSRS won't render direct to PDF
If any of your parameters having more than 1000 available values this problem may occur.
Please have a look on this question and answer:
Report is not loading when using parameters
I have some reports that optionally, redirect to another report.Of course parameters are passed during the redirection. The problem is that in Report Viewer the link that should take the action isn't clickable. This works fine when running from Report Manager.The links do what they're meant to (they link to other reports passing through parameters). When the report is run from the asp application with the report viewer, the links do not work at all.This problem became consistent when Report Viewer was upgraded from version 9 to 10 (to eliminate other problems).What should be done?
Not found what was the real problem.Sure it had to do with the fact that after upgrading Report Viewer from 9 to 10 while Visual Studio version is 2008 in our server.However it was resolved after copy-pasting a "good" cell, which did't cause problems from one report to the problematic ones.Only changing the link redirecting to the other level report was left to do in the copied cell.Now all it is fine.
I get the correct results (nov and dec data) when I run a query in the Data tab of a report that I built in SQL Server Reporting Services. When I preview the report I get old data from October. It doesn't make any sense to me. I'm not sure whats going on. Note: the data is in Oracle.
Here's the date filter I'm using
receipt_date + 2 <= SYSDATE
The query works fine in SQL Developer and in the Data tab in the .rdl designer in Visual Studio... just not in the Preview tab when I run the report... that's when I get Oct. data.
Anyone know what's going on here?
SSRS caches data locally for use by the designer. The cached data is only updated if the developer previews the report in VS.NET using a different set of parameters, which in your case never happens because the report has no parameters.
To allow SSRS to refresh the cached data, navigate to the directory which contains your design-time RDL file and delete any files which have the extension ".data".
This is way too late, but maybe this can help someone else in the future.
When developing SQL Reporting Services reports, a really annoying function is that preview data is cached locally when testing reports instead of fetched on every run. Even explicitly refreshing the data doesn't always fix this. The most reliable way to resolve this is to delete the .data file associated with your report RDL file. These data files are stored in the same folder with your report definitions.
While you can delete these files manually, the following 15 second configuration change to BIS makes the process of deleting all data caches as simple as a menu selection.
Let's see how to achieve this.
In Visual Studio -->
Go to Tools - External Tools...
Add a new tool with the following settings:
Now whenever you want to delete your report data cache, just go to Tools - Clear Report Data Cache.
The only thing that works for me (in 2008 R2) is deleting the .data file and rebuilding the report. The refresh button on the preview tab does nothing nor does editing the RSReportDesigner.config file (located in C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies). Very frustrating. If I change the query or sp logic I now have to manually delete the .data file in the report project directory in order to see the the most recent rendering of the data.
Hope this was fixed in SSRS 2012 data tools.
see the links
http://connect.microsoft.com/SQLServer/feedback/details/522670/ssrs-turn-off-local-data-cache-in-bids#
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/145ac9ac-b247-47d2-a787-98a8fcfad053
The link in Greg's post points to this workaround, added after Greg posted: http://blog.summitcloud.com/2010/05/disable-reporting-services-data-cache-in-development/ That explains which config file controls the data caching, and says that refreshing the preview may actually get you fresh data. (I'm running a long query now, so I don't know yet if that works.)
Try hitting the Refresh button on the Preview tab.
If I understand properly, that is the same issue I had with mine.
I could see the query run successfully in the Report Data window but whenever I ran the Preview of the report, I was getting no results.
I realised after a bit of mucking around, all I needed to do was hit the Refresh button (mini icons on the the Preview tab) to get the Preview refreshed with the new data.
Is there anything different regarding the dataset's parameters? Do report parameters feed the dataset at all? If so what are they?
Is the report a server report? If so what is the time set to on the server?
There are no report parameters.....the exact same sql is run everytime. I'm not sure what you mean when you ask if the report is a server report.
i have one theory that i haven't been able to test. this report is not deployed to Report Manager but is being run from Visual Studio. I don't know if that makes a difference.
Pressing the refresh button in BIDS VS2010 for me isn't working. Nor did deleting the cache file. My issue was that I didn't have a Row Group - so it was only showing one (old) record on the report.