報錯資訊如下:
索引超出了陣列界限。
說明: 執行當前 Web 請求期間,出現未經處理的例外。請檢查堆疊跟蹤資訊,以了解有關該錯誤以及代碼中導致錯誤的出處的詳細資訊。
例外詳細資訊: System.IndexOutOfRangeException: 索引超出了陣列界限。
源錯誤:
行 50: TextString += "評論獎勵:<input type=\"text\" name=\"config6\" emptyok=\"true\" maxlength=\"10\" value=https://bbs.csdn.net/"" + config[6] + "\" /><br/>\r\n";
行 51: TextString += "圖片地址:<input type=\"text\" name=\"config7\" emptyok=\"true\" maxlength=\"100\" value=https://bbs.csdn.net/"" + config[7] + "\" /><br/>\r\n";
行 52: TextString += "介面地址:<input type=\"text\" name=\"config8\" emptyok=\"true\" maxlength=\"100\" value=https://bbs.csdn.net/"" + config[8] + "\" /><br/>\r\n";
行 53: TextString += "<input type=\"submit\" value=https://bbs.csdn.net/"確定配置\" />\r\n";
行 54: TextString += "</form>\r\n";
源檔案: c:\wwwroot\web\xml\admin\book\config.aspx.cs 行: 52
堆疊跟蹤:
[IndexOutOfRangeException: 索引超出了陣列界限。]
admin_book_config.Page_Load(Object sender, EventArgs e) in c:\wwwroot\web\xml\admin\book\config.aspx.cs:52
System.Web.UI.Control.OnLoad(EventArgs e) +106
System.Web.UI.Control.LoadRecursive() +68
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785
版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3770.0
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/268913.html
標籤:ASP.NET
下一篇:有償 做專案
