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

在此內容中無法使用回應。

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

例外狀況詳細資訊: System.Web.HttpException: 在此內容中無法使用回應。

原始程式錯誤:


行 52:             catch (Exception ex)
行 53:             {
行 54:                 Response.Write(ex.Message);
行 55:             }
行 56:             finally

原始程式檔: d:\userdata\vhosts\scimonth.com.tw\httpdocs\App_Code\banner.cs    行: 54

堆疊追蹤:


[HttpException (0x80004005): 在此內容中無法使用回應。]
   System.Web.UI.Page.get_Response() +9889519
   MyWeb.banner.dbTableShow(Int32 kind, String top, String nation) in d:\userdata\vhosts\scimonth.com.tw\httpdocs\App_Code\banner.cs:54
   tw__uc_banner.Page_Load(Object sender, EventArgs e) in d:\userdata\vhosts\scimonth.com.tw\httpdocs\tw\_uc\banner.ascx.cs:20
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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