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 19: If (search_txt_3(0) > 1) Then
Line 20:    If (STR_PARAMETERS <> PRM_ALL_2) Then
Line 21:       STR_PARAMETERS = STR_PARAMETERS & ", " & PRM_JOB_TYPE_NAME(Cint(search_txt_3(0)) - 1)
Line 22:    Else
Line 23:       STR_PARAMETERS = PRM_JOB_TYPE_NAME(Cint(search_txt_3(0)) - 1)

Source File: D:\HostingSpaces\jobnewsc\jobnews.co.il\wwwroot\menus\result_JobIndex.aspx    Line: 21

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP.jobindexpertype_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\HostingSpaces\jobnewsc\jobnews.co.il\wwwroot\menus\result_JobIndex.aspx:21
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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