The problem started when I upgraded my operating system to Windows 10. It comes with Microsoft Edge. My Application was working perfect before. It was returning fresh result from SSRS as PDF. I was using following URL in response.redirect
http://servername/Reportserver?/SSRSRPT2RDL/Main&rs:Command=Render&rs:Format=PDF&year=2018&source=Menu
After upgrade, I have started receiving results from cache. I was wondering what happened suddenly. so I started looking at web page Headers - Status Code. It was 304 (Not Modified). Which means it was not refreshing data and returning results from Cache.
To solve the problem, I have added "rs:ClearSession=true" in the URL. This solved my issue.
http://servername/Reportserver?/SSRSRPT2RDL/Main&rs:Command=Render&rs:Format=PDF&rs:ClearSession=true&year=2018&source=Menu
Thanks
The .NET Framework and ASP.NET help you create web applications and services for Windows.
Subscribe to:
Posts (Atom)
React-select is very slow on larger list - Found solution - using react-window
I had more than 4000 items in searchable dropdownlist. I have used react-select but it was very slow. finally I found complete solution to ...
-
Today I will show you how to use new salesforce toolkit for .NET Application. Follows the steps: Step 1. Create a project with C# ASP.NET ...
-
Classic mode is a mode where IIS only works with ISAPI extensions and ISAPI filters directly. In fact, in this mode, ASP.NET is just an ISA...