User回報Reporting Service檢視報表時,遇到以下錯誤:
找不到執行 'stdeve2cn35pg5bhmblygy45' (rsExecutionNotFound) 
Execution 'stdeve2cn35pg5bhmblygy45' cannot be found(rsExecutionNotFound)

同一時間,其他機器檢視同一報表一切正常,問題只出現在特定機器上。檢視Reporting Service Log(Log位於C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles),發現以下Exception:
w3wp!session!1!2007/11/26-09:00:16:: i INFO: LoadSnapshot: Item with session: stdeve2cn35pg5bhmblygy45, reportPath: , userName: DomainName\AccountName not found in the database
w3wp!library!1!2007/11/26-09:00:16:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: 找不到執行 'stdeve2cn35pg5bhmblygy45', ;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: 找不到執行 'stdeve2cn35pg5bhmblygy45'
w3wp!library!1!2007/11/26-09:00:16:: Unhandled exception was caught: Microsoft.Reporting.WebForms.ReportServerException: 找不到執行 'stdeve2cn35pg5bhmblygy45' (rsExecutionNotFound)
   at Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo()
   at Microsoft.Reporting.WebForms.ServerReport.SetExecutionId(String executionId, Boolean fullReportLoad)
   at Microsoft.Reporting.WebForms.ReportDataOperation..ctor()
   at Microsoft.Reporting.WebForms.HttpHandler.GetHandler()
   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)

Google結果,看來與Session找不到或過期有關。進一步追查,確認有問題的IE在上週開啟後即未關閉,今天繼續使用,此一狀況符合Session過期的條件,推測就是導致錯誤原因,此時將IE關閉重新開啟即一切正常,Case Closed!


Comments

# by Morris

一般 User 確實常常沒有關閉程式的習慣... J 大有沒有考慮過像網路銀行那樣, 過段時間沒動作, 下次再用時 就必須重新登入了呢??

Post a comment


49 - 28 =