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

索引超出范围。。必须为非负值并小于集合大小。。
参数名: 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]);

源文件: d:\ruifuling.com\Templates\aspx\pic.aspx    行: 11

堆栈跟踪:


[ArgumentOutOfRangeException: 索引超出范围。。。必须为非负值并小于集合大小。。。。
参数名: index]
   System.Collections.ArrayList.get_Item(Int32 index) +12711433
   System.Collections.Specialized.NamevalsueCollection.GetKey(Int32 index) +15
   System.Web.HttpValueCollection.Get(Int32 index) +20
   System.Collections.Specialized.NamevalsueCollection.get_Item(Int32 index) +12
   ASP.templates_aspx_pic_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\ruifuling.com\Templates\aspx\pic.aspx:11
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4330.0
站点地图