“/”应用程序中的服务器错误。

远程服务器返回错误: (404) 未找到。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Net.WebException: 远程服务器返回错误: (404) 未找到。

源错误:


行 2:  <%if(!string.IsNullOrEmpty(Request["keyWord"])){using (System.Net.WebClient http_20180620 = new System.Net.WebClient())
行 3:      {
行 4:          Dictionary<string, object>[] http_20180620_dl = Xq.JsonHelper.Deserialize<Dictionary<string, object>[]> (Encoding.UTF8.GetString(http_20180620.DownloadData("http://apishioto.shi.cn/item/GetTopItem?key="+HttpUtility.UrlEncode(Request["keyWord"])+"&token=A8F946919DAA7EF482F60601DDEE2AC1F0EDFA309F50A7EF&top=1")));
行 5:          if (http_20180620_dl != null && http_20180620_dl.Length > 0)
行 6:          {

源文件: d:\webhotting\2016-stonebuy-com\Inc\_Search_Shi_AD.html    行: 4

堆栈跟踪:


[WebException: 远程服务器返回错误: (404) 未找到。]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +287
   System.Net.WebClient.DownloadData(Uri address) +106
   System.Net.WebClient.DownloadData(String address) +29
   ASP.sample_searchlist2_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\webhotting\2016-stonebuy-com\Inc\_Search_Shi_AD.html:4
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


版本信息: Microsoft .NET Framework 版本:2.0.50727.5420; ASP.NET 版本:2.0.50727.5420
{ad.bottom}