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 23:             
Line 24: 
Line 25:             Dim OriginalReferer = split(server.urldecode(Request.QueryString("query")), "&")(1)
Line 26:             Dim OriginalRefererComplete = decrypt(OriginalReferer)
Line 27:             OriginalReferer = (ParseDomainFromURL(OriginalRefererComplete))

Source File: D:\inetpub\yoshkiweb\validateservice.aspx.vb    Line: 25

Stack Trace:

[IndexOutOfRangeException: Index was outside the bounds of the array.]
   validateService.Page_Load(Object sender, EventArgs e) in D:\inetpub\yoshkiweb\validateservice.aspx.vb:25
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

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