Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

The report execution has expired error in ReportExecution2005.asmx Expand / Collapse
Posted Wednesday, June 5, 2013 11:50 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, June 30, 2014 9:48 AM
Points: 1, Visits: 100
In our web application, we have several sub applications. In one of the sub application say "Application1", we have added Webreference to http://localhost:80/ReportServer/ReportExecution2005.asmx. In one of ASPX page(Report.aspx) in this sub application, we have used this webreference to render the report directly in excel format. We don't use this webreference in any other pages.

I ran this page and was able to generate the report in excel format without any issues. But, after sometime around 10 or 20 mins later, application starts throwing error "The report execution vw5tgt45dqxidj455nrhbyzx has expired or cannot be found. (rsExecutionNotFound) ". Strange thing is that all the pages in "Application1" starts throwing this error, even though this webservice is called only in one page Report.aspx. I logged out off the application and logged in again and it still continues to throw this error in all pages under Application1.

Please help me understand why this error comes even though this web reference was not called explicitly in the code.

Below is detailed error.

Exception Details: Microsoft.Reporting.WebForms.ReportServerException: The report execution vw5tgt45dqxidj455nrhbyzx has expired or cannot be found. (rsExecutionNotFound)

Source Error:
[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\54630efd\e239d1ad\App_Web_004dtuxw.1.cs Line: 0

Stack Trace:
[ReportServerException: The report execution vw5tgt45dqxidj455nrhbyzx has expired or cannot be found. (rsExecutionNotFound)]
Microsoft.Reporting.WebForms.ServerReportSoapProxy.OnSoapException(SoapException e) +82
Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.ProxyMethodInvocation.Execute(RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod) +770
Microsoft.Reporting.WebForms.ServerReport.EnsureExecutionSession() +252
Microsoft.Reporting.WebForms.ServerReport.LoadViewState(Object viewStateObj) +286
Microsoft.Reporting.WebForms.ServerReport..ctor(SerializationInfo info, StreamingContext context) +536
Post #1460357
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse