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

长度不能小于 0。
参数名: length

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

异常详细信息: System.ArgumentOutOfRangeException: 长度不能小于 0。
参数名: length

源错误:


行 112:        <div class="title1">相关新闻</div>
行 113:		<div class="news_list">
行 114:			<%=Hope_NewsIndex(1, 10, relatedkey)%>
行 115:		</div>
行 116:        

源文件: d:\webhosting\clients\ce266bb9-3c38-41a1-8b91-95becadd52d9\wwwroot\product\index.aspx    行: 114

堆栈跟踪:


[ArgumentOutOfRangeException: 长度不能小于 0。
参数名: length]
   System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +7511239
   System.String.Substring(Int32 startIndex, Int32 length) +11
   Cambridge.product.index.Hope_NewsIndex(Int32 col, Int32 row, String related) in F:\网站备份\最新网站\c盘文件\Cambridge\Cambridge\product\index.aspx.cs:130
   ASP.product_index_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in d:\webhosting\clients\ce266bb9-3c38-41a1-8b91-95becadd52d9\wwwroot\product\index.aspx:114
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   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.8800; ASP.NET 版本:2.0.50727.8745