Server Error in '/' Application.

Index was outside the bounds of the array.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:


Line 1028:
Line 1029:
Line 1030:            string[] taglist = taglists[ii].Split(',').Where(a => !string.IsNullOrEmpty(a)).ToArray();
Line 1031:            //string x = "";
Line 1032:

Source File: c:\WEBFARM_MILITARIA\localuser\ftpibug\catalogo.aspx.cs    Line: 1030

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   catalogo.realtagList(String tags) in c:\WEBFARM_MILITARIA\localuser\ftpibug\catalogo.aspx.cs:1030
   catalogo.Page_Load(Object sender, EventArgs e) in c:\WEBFARM_MILITARIA\localuser\ftpibug\catalogo.aspx.cs:344
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0