You must Sign In to post a response.
  • Category: ASP.NET

    Exception log -- could not handle


    I am getting below error in exception log table... Please let me know the solution. Thanks.

    ASP.NET session has expired or could not be found AspNetSessionExpiredException at Microsoft.Reporting.WebForms.ViewerDataOperation..ctor()
    at Microsoft.Reporting.WebForms.HttpHandler.GetHandler(String operationType)
    at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    http://abc/Reserved.ReportViewerWebControl.axd?OpType=SessionKeepAlive&ControlID=0d2e9ff348de4955923 2016-03-09 12:43:41.793 Microsoft.Reporting.WebForms.ViewerDataOperation
  • #765084
    This error occurred If you set KeepSessionAlive to false, the user session is kept active as long as the user interacts with the Web page. The user session will expire after a period of inactivity in the Web page. If the ASP.NET session expires, the message "ASP.NET session has expired or could not be found" is displayed when the user interacts with the ReportViewer again
    Have you set 'KeepSessionAlive ' to false any where ? if yes then remove that attribute

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #765087

    While Generating Report viewers sometimes session may expire due to several reasons, to overcome this we have 2 options one is KeepSessionAlive to false and another one is to keep session alive at handler side by call some script over there, refer below link this might be helpful to you.

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • #765093
    There is no 'KeepSessionAlive' attribute in my code.
    Should I increase the timeout value somewhere in the reports?

  • Sign In to post your comments