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

遠端伺服器傳回一個錯誤: (404) 找不到。

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

例外狀況詳細資訊: System.Net.WebException: 遠端伺服器傳回一個錯誤: (404) 找不到。

原始程式錯誤:


行 88:         HttpContext.Current.Response.HeaderEncoding = System.Text.Encoding.Default;
行 89: 
行 90:         byte[] xfile = wc.DownloadData(UpoladsUrl + "Papers/" + Files);
行 91:         string xfileName = System.IO.Path.GetFileName(UpoladsUrl + "Papers/" + Files);
行 92: 

原始程式檔: c:\inetpub\wwwroot\NtnuStudy\jll\Download.aspx.cs    行: 90

堆疊追蹤:


[WebException: 遠端伺服器傳回一個錯誤: (404) 找不到。]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +380
   System.Net.WebClient.DownloadData(Uri address) +117
   jll_Download.DowFile() in c:\inetpub\wwwroot\NtnuStudy\jll\Download.aspx.cs:90
   jll_Download.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\NtnuStudy\jll\Download.aspx.cs:53
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1607


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