Page 1 of 1

ArgumentOutOfRangeException while searching

Posted: Tue Feb 17, 2015 2:04 am
by aded

We are using asp.net maker version 11.0.2. While searching, we get the following error with certain search terms:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex

The error is reported when calling RenderRow function. The stack trace is:

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex]
System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType) +10685966
AspNetMaker11_TickazillaStandardControl_base.ew_GetKeyword(String src, List1 kwlist, Int32 x, Int32& y, String& kw) +141
AspNetMaker11_TickazillaStandardControl_base.ew_Highlight(String name, Object src, String bkw, String bkwtype, String akw, String akw2) +647
cpublic_TicketTypes_list_base
2.RenderRow() +1472

Example search terms that fail for us are "away", "plus". Many other search terms just work fine. Data does contain those search terms.

Any ideas as to how we can resolve this error? Thank you.


Re: ArgumentOutOfRangeException while searching

Posted: Wed Feb 18, 2015 9:39 am
by Webmaster

Cannot simulate. Note that ASP.NET Maker 12 is released. Upgrade to the latest version and see if it resolves the problem.