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

'http:/www3.slhs.tp.edu.tw/net_doc/slhs_counter.htm' 不是有效的虛擬路徑。

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

例外狀況詳細資訊: System.Web.HttpException: 'http:/www3.slhs.tp.edu.tw/net_doc/slhs_counter.htm' 不是有效的虛擬路徑。

原始程式錯誤:

只有在偵錯模式編譯時,才可以顯示產生此未處理例外狀況的原始程式碼。若要啟動,請依照下列步驟之一,然後要求 URL:

1. 將 "Debug=true" 指示詞加入產生錯誤的程式碼頂端。例如:

  <%@ Page Language="C#" Debug="true" %>

或:

2. 將下列區段加入您應用程式的組態檔:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

請注意: 第二種技巧會導致在偵錯模式下編譯指定應用程式中的所有檔案。第一種技巧只會造成在偵錯模式下編譯該特定檔案。

重要資訊: 在偵錯模式下執行應用程式會過度耗用記憶體/效能。在實際執行部署之前,應該先確認應用程式已經停止偵錯。

堆疊追蹤:


[HttpException (0x80004005): 'http:/www3.slhs.tp.edu.tw/net_doc/slhs_counter.htm' 不是有效的虛擬路徑。]
   System.Web.Util.UrlPath.CheckValidVirtualPath(String path) +9831253
   System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +132
   System.Web.VirtualPath.Combine(VirtualPath relativePath) +130
   System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +87
   System.Web.HttpServerUtility.MapPath(String path) +104
   ASP.net_doc_index_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +1589
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1303


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