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

索引超出范围。必须为非负值并小于集合大小。
参数名: index

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

异常详细信息: System.ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。
参数名: index

源错误:


行 9:  
行 10:     Response.ClearContent();
行 11:     string filePath = Request.QueryString[0];
行 12:     int width = Convert.ToInt32(Request.Url.ToString().Split(new char[] { '?' })[0].Split(new char[] { '/' })[4]);
行 13:     int height = Convert.ToInt32(Request.Url.ToString().Split(new char[] { '?' })[0].Split(new char[] { '/' })[5]);

源文件: f:\usr\localuser\hyw6486530001\Templates\aspx\pic.aspx    行: 11

堆栈跟踪:


[ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。
参数名: index]
   System.Collections.ArrayList.get_Item(Int32 index) +10689020
   System.Collections.Specialized.NameValueCollection.GetKey(Int32 index) +13
   System.Web.HttpValueCollection.Get(Int32 index) +20
   System.Collections.Specialized.NameValueCollection.get_Item(Int32 index) +10
   ASP.templates_aspx_pic_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in f:\usr\localuser\hyw6486530001\Templates\aspx\pic.aspx:11
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   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) +1386


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34280
XML 地图