ASP.NET session has expired or could not be found while running RDL reports

Nishant Tyagi 1 Reputation point
2021-05-10T10:34:19.703+00:00

Hi,

We are using Report Viewer control in aspx page to show RDLs in our application . Only one server was in rotation , all was good.

Now we have added one more leg(server) in rotation to improve website to handle no. of request .

But after adding new server we are getting Errror "ASP.NET session has expired or could not be found" after F5 sometime it works , some time not

  1. eGlassReportViewer.AsyncRendering as false
  2. eGlassReportViewer.KeepSessionAlive as true

We have made Session state as out proc with state Server also but still getting same error .

Please suggest what we are missing here

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,252 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,798 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 55,601 Reputation points
    2021-09-25T16:16:29.41+00:00

    You also need to set matching machine keys (or shared key storage if using data protection) for the session and authentication cookies to work in a web farm.

    0 comments No comments