21.03.2012 – Sergiy Nikitin

Strange ArgumentOutOfRange exception in your custom list view web part

You may get this exception when requesting a list item field value, e.g. myitem[myField.Id]. If you are 100% sure that the field exists as well as the value of the item, then calculate the number of lookup fields used in your view and check the following settings:

Central Administration - > Manage Web Applications - > Select the application -> General Settings -> Resource Throttling - > List View Lookup Threshold (8 is default, but it is not always enough). Increase this value to the amount you need.

Inno-W mark
Sergiy Nikitin
Sergiy Nikitin

Posts by Sergiy