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)
[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
[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.LoadViewState(Object viewStateObj) +286
Microsoft.Reporting.WebForms.ServerReport..ctor(SerializationInfo info, StreamingContext context) +536