asp.net seesion has expired or could not be found
When ever I try to access a report through a website on my server I get the "asp.net seesion has expired or could not be found" error. I can connect directly to report services by using the machine name and have no problem running the reports. Any ideas what might be causing this issue? Interestingly I'm running the same code (stored in DFS) on three IIS servers. Each server has SSRS installed. Two of the DBs are identical and have no issues . This issue only occurs on the third server where the developer has been updating the db. Log Name: Application Source: ASP.NET 4.0.30319.0 Date: 2/2/2012 3:25:28 PM Event ID: 1309 Task Category: Web Event Level: Warning Keywords: Classic User: N/A Computer: server.my.domain Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 2/2/2012 3:25:28 PM Event time (UTC): 2/2/2012 8:25:28 PM Event ID: 4a09771125624f78a18988839eb75a2b Event sequence: 3 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/14/ROOT/projects/methowcc-27-129726879284968743 Trust level: Full Application Virtual Path: /projects/methowcc Application Path: \\projects\methowcc\ Machine name: IGSWMCWIGSCAII1 Process information: Process ID: 5252 Process name: w3wp.exe Account name: GS\IGSAAAHI-sqlreader Exception information: Exception type: AspNetSessionExpiredException Exception message: ASP.NET session has expired or could not be found 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) Request information: Request URL: http://int-wa.water.my.domain/projects/methowcc/Reserved.ReportViewerWebControl.axd?OpType=SessionKeepAlive&ControlID=4c3483f248be4377bff6cad4286905e1 Request path: /projects/methowcc/Reserved.ReportViewerWebControl.axd User host address: 111.222.333.444 User: Is authenticated: False Authentication Type: Thread account name: GS\IGSAAAHI-sqlreader Thread information: Thread ID: 20 Thread account name: GS\IGSAAAHI-sqlreader Is impersonating: False Stack trace: 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) Custom event details: Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="ASP.NET 4.0.30319.0" /> <EventID Qualifiers="32768">1309</EventID> <Level>3</Level> <Task>3</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2012-02-02T20:25:28.000000000Z" /> <EventRecordID>19488</EventRecordID> <Channel>Application</Channel> <Computer>igswmcwigscaii1.my.domain</Computer> <Security /> </System> <EventData> <Data>3005</Data> <Data>An unhandled exception has occurred.</Data> <Data>2/2/2012 3:25:28 PM</Data> <Data>2/2/2012 8:25:28 PM</Data> <Data>4a09771125624f78a18988839eb75a2b</Data> <Data>3</Data> <Data>1</Data> <Data>0</Data> <Data>/LM/W3SVC/14/ROOT/projects/methowcc-27-129726879284968743</Data> <Data>Full</Data> <Data>/projects/methowcc</Data> <Data>\\projects\methowcc\</Data> <Data>IGSWMCWIGSCAII1</Data> <Data> </Data> <Data>5252</Data> <Data>w3wp.exe</Data> <Data>GS\IGSAAAHI-sqlreader</Data> <Data>AspNetSessionExpiredException</Data> <Data>ASP.NET session has expired or could not be found 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&amp; completedSynchronously) </Data> <Data>http://my.domain/projects/methowcc/Reserved.ReportViewerWebControl.axd?OpType=SessionKeepAlive&amp;ControlID=4c3483f248be4377bff6cad4286905e1</Data> <Data>/projects/methowcc/Reserved.ReportViewerWebControl.axd</Data> <Data>111.222.333.444</Data> <Data> </Data> <Data>False</Data> <Data> </Data> <Data>GS\IGSAAAHI-sqlreader</Data> <Data>20</Data> <Data>GS\IGSAAAHI-sqlreader</Data> <Data>False</Data> <Data> 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&amp; completedSynchronously) </Data> </EventData> </Event>
February 2nd, 2012 3:50pm

I've been having a similar issue with accessing reports from within a Silverlight client. In my case, the problem is running inproc SessionState. I've seen suggestions that setting web gaden count = 1, or setting the max Virtual Memory Size on the Application Pool, or even limiting max worker process count would resolve the issue. In the end, using SqlServer for SessionState seems to have resolved my issue. You can run aspnet_regsql -W to prepare a separate database for storing session state, then configure SessionState in IIS Management Console for the application to point to that database.
Free Windows Admin Tool Kit Click here and download it now
August 27th, 2012 10:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics