Last post Nov 18, 2017 09:39 AM by KALYANA ALLAM
Member
62 Points
113 Posts
Nov 16, 2017 11:14 AM|KALYANA ALLAM|LINK
Hi,
When using ReportViewer in SSRS we are getting the below error,this happens when result set is huge.
Microsoft Reporting WebForms AspNetSessionExpiredException ASP NET session has expired or could not be found
Here is a Property from Web.Config pertaining to SessionState.
<sessionState mode="InProc" cookieless="false" timeout="70" />
Any pointers kindly suggest.
Participant
990 Points
475 Posts
Nov 17, 2017 02:48 AM|zxj|LINK
Hi KALYANA,
KALYANA ALLAM When using ReportViewer in SSRS we are getting the below error,this happens when result set is huge. Microsoft Reporting WebForms AspNetSessionExpiredException ASP NET session has expired or could not be found Here is a Property from Web.Config pertaining to SessionState. <sessionState mode="InProc" cookieless="false" timeout="70" />
You are storing your session InProc. Try changing it to session StateServer.
The ASP.Net ReportViewer relies on ASP.Net session state to store critical data that can’t always be easily regenerated.
Session-State Modes
https://msdn.microsoft.com/en-us/library/ms178586.aspx
In addition, increase timeout in web.config, set the property value to report view, set the KeepSessionAlive to true.
Regards,
zxj
Nov 18, 2017 09:39 AM|KALYANA ALLAM|LINK
Yes they are using the StateServer Option in Production ,let me try increasing the Sessiontimeout.
Member
62 Points
113 Posts
SSRS ReportViewer Session Expired
Nov 16, 2017 11:14 AM|KALYANA ALLAM|LINK
Hi,
When using ReportViewer in SSRS we are getting the below error,this happens when result set is huge.
Microsoft Reporting WebForms AspNetSessionExpiredException ASP NET session has expired or could not be found
Here is a Property from Web.Config pertaining to SessionState.
<sessionState mode="InProc" cookieless="false" timeout="70" />
Any pointers kindly suggest.
Participant
990 Points
475 Posts
Re: SSRS ReportViewer Session Expired
Nov 17, 2017 02:48 AM|zxj|LINK
Hi KALYANA,
You are storing your session InProc. Try changing it to session StateServer.
The ASP.Net ReportViewer relies on ASP.Net session state to store critical data that can’t always be easily regenerated.
Session-State Modes
https://msdn.microsoft.com/en-us/library/ms178586.aspx
In addition, increase timeout in web.config, set the property value to report view, set the KeepSessionAlive to true.
Regards,
zxj
Member
62 Points
113 Posts
Re: SSRS ReportViewer Session Expired
Nov 18, 2017 09:39 AM|KALYANA ALLAM|LINK
Yes they are using the StateServer Option in Production ,let me try increasing the Sessiontimeout.