【茶包射手專欄】Reporting Service rsExecutionNotFound

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!

歡迎推文分享:
Published 26 November 2007 11:56 AM 由 Jeffrey
Views: 12,369



意見

# Morris said on 26 November, 2007 06:36 PM

一般 User 確實常常沒有關閉程式的習慣...

J 大有沒有考慮過像網路銀行那樣, 過段時間沒動作, 下次再用時

就必須重新登入了呢??

你的看法呢?

(必要的) 
(必要的) 
(選擇性的)
(必要的) 
(提醒: 因快取機制,您的留言幾分鐘後才會顯示在網站,請耐心稍候)

5 + 3 =

搜尋

Go

<November 2007>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678
 
RSS
創用 CC 授權條款
【廣告】
twMVC
最新回應

Tags 分類檢視
關於作者

一個醉心技術又酷愛分享的Coding魔人,十年的IT職場生涯,寫過系統、管過專案, 也帶過團隊,最後還是無怨無悔地選擇了技術鑽研這條路,近年來則以做一個"有為的中年人"自許。

文章典藏
其他功能

這個部落格


Syndication