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 49:                 Dim vString As String() = Split(Request.QueryString("Peram"), "|")
Line 50:                 Keywords.Text = vString(0)
Line 51:                 Location.SelectedValue = vString(1)
Line 52:                 FunctionalArea.SelectedValue = vString(2)
Line 53:                 imgSearchByLogo.Visible = False

Source File: F:\inetpub\ftproot\SearchResult.aspx.vb    Line: 51

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   SearchResult.Page_Load(Object sender, EventArgs e) in F:\inetpub\ftproot\SearchResult.aspx.vb:51
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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