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 102:                    tCell = New TableCell
Line 103:                    tCell.VerticalAlign = VerticalAlign.Top
Line 104:                    If vettore_categoria_rw(counter2) <> "" Then
Line 105:                        tCell.Text = "<img src=""../images/folder.png"" width=""32"" height=""32"" alt="""" align=""absmiddle"" /><strong><a href=""" & oConfig.http_path & "/" & vettore_categoria_rw(counter2) & "/" & vettore_url(counter2) & ".aspx"">" & vettore_nome(counter2) & "</a></strong>"
Line 106:                    End If

Source File: D:\inetpub\wwwroot\freedirectory.it\categoria.aspx.vb    Line: 104

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   categoria.Page_Load(Object sender, EventArgs e) in D:\inetpub\wwwroot\freedirectory.it\categoria.aspx.vb:104
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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