No of visitors who read this post: 434
Type: Question
No votes yet

Hi, I hope someone can help me out here!


I am receiving anIndexOutOfRangeException when I open the standard wsl file: InfragisticStyleLibrary.wsl using AppStylist for ASP.NET.

For more information please see attached screenshot.

Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#

Hi Marian,

This is thrown when an effort is made to approach the element of an array or accumulation with an index which is outside the bounds of the array or less than zero.

If you have the source code of your software then it is easy to point out the culprit of the problem.  This exception can occur on the following conditions:

  • The maximum index of a list must be less than the list size.
  • This exception may be thrown if the index is less than zero.

One solution to avoid the exception is to wrap the calling code to try...catch () blocks to ignore that ugly dialog.

I hope it helped.