'/' 應用程式中發生伺服器錯誤。

並未將物件參考設定為物件的執行個體。

描述: 在執行目前 Web 要求的過程中發生未處理的例外狀況。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

例外狀況詳細資訊: System.NullReferenceException: 並未將物件參考設定為物件的執行個體。

原始程式錯誤:


行 22:             && x.MODULE_ID == module_id);
行 23: 
行 24:         string[] fileSplit = Model.FILE_FILENAME.Split('.');
行 25:         string Ext = "";
行 26:         if (fileSplit.Length > 1) Ext = "." + fileSplit[fileSplit.Length - 1];

原始程式檔: c:\ISCOM\1. Site\正式\NTB_Intern\ViewService\FileDownload.ashx    行: 24

堆疊追蹤:


[NullReferenceException: 並未將物件參考設定為物件的執行個體。]
   FileDownload.ProcessRequest(HttpContext context) in c:\ISCOM\1. Site\正式\NTB_Intern\ViewService\FileDownload.ashx:24
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +789
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +194
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3282.0