1.-I\'m using reporting services and sometimes I get this error ASP.NET session has expired or could not be found
when I try to load a report.
2.-I real
For me Azure hosted web app turning ON - ARR Affinity fixed the issue.
ARR Affinity ON
Try removing SessionState="somevalue" tag from the top of your calling ASPX page. I'm using a custom SessionState and refuse to use InProc since I have multiple instances on Azure. You can even use AsyncRendering=True if you desire. Let me know if this did the trick for you.
Increase the value "MaxActiveReqForOneUser"
"C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config"
**<Add Key="MaxActiveReqForOneUser" Value="200"/>**
I'm using report viewer 11.0.0; in your web config on system.web section, put the next configuration:
<sessionState timeout ="120" mode="InProc" cookieless="false" />
When you are generating the report (C# code bellow) in the reportviewer object change the KeepSessionAlive property to false and the AsynkRendering property to false, and that's all
this.rvReporte.KeepSessionAlive = false;
this.rvReporte.AsyncRendering = false;
(rvReporte) is a ReportViewer control located on my asp.net Form This solution work for me, i hope that work for other people.
Regards
I solved this issue by setting AsyncRendering to false on reportviewer server control
<httpCookies httpOnlyCookies="false" requireSSL="false"/>
Solved the problem. Thanks to : http://www.c-sharpcorner.com/Blogs/8786/reportviewer-Asp-Net-session-has-expired.aspx