Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 The report execution has expired error in ReportEx

Author  Topic 

sathyaprakashg
Starting Member

1 Post

Posted - 2013-06-05 : 13:52:07
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) +5
   

- Advertisement -