locked
SSRS ReportViewer Session Expired RRS feed

  • Question

  • User1203305613 posted

    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.

    Thursday, November 16, 2017 11:14 AM

All replies

  • User991499041 posted

    Hi KALYANA,

    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

    Friday, November 17, 2017 2:48 AM
  • User1203305613 posted

    Yes they are using the StateServer Option in Production ,let me try increasing the Sessiontimeout.

    Saturday, November 18, 2017 9:39 AM