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 9:          If showfleet Then Return
Line 10:         Dim seoname() As String = Split(Request.QueryString("name"), "/")
Line 11:         If seoname(1) = "" Then showfleet = True
Line 12:         If showfleet Then Return
Line 13:         If Not (IsPostBack Or IsCallback) Then

Source File: C:\Websites\www.rentacar-milos.gr\fleet.aspx.vb    Line: 11

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   fleet.Page_Init(Object sender, EventArgs e) in C:\Websites\www.rentacar-milos.gr\fleet.aspx.vb:11
   System.Web.UI.Control.OnInit(EventArgs e) +97
   System.Web.UI.Page.OnInit(EventArgs e) +14
   System.Web.UI.Control.InitRecursive(Control namingContainer) +142
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +416


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