If you facing this error...

if you save or read a column using splistitem["Created By"] or splistitem[internalname]...

You get this error...

Exception            Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler(). Exception information: Exception information: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.SPFieldMap.GetColumnNumber(String strFieldName, Boolean bThrow)     at Microsoft.SharePoint.SPListItemCollection.GetColumnNumber(String groupName, Boolean bThrowException)     at Microsoft.SharePoint.SPListItemCollection.GetRawValue(String fieldname, Int32 iIndex, Boolean bThrow)     at Microsoft.SharePoint.SPListItem.GetValue(SPField fld, Int32 columnNumber, Boolean bRaw, Boolean bThrowException)     at Microsoft.SharePoint.SPListItem.GetValue(String strName, Boolean bThrowException)     at Microsoft.SharePoint.SPListItem.get_Item(String fieldNa...        

 

Your list has a too much columns (Lookup, Person/Group, or workflow status fields)

You need to increase your "List View Lookup Threshold"

SharePoint 2010  Value does not fall within the expected range

Go to Application Management --> Manage Web Applications --> select your application --> General Setting --> Resource Throttling --> List View Lookup Threshold --> Put a number more than number of your list columns. maybe 30, 40, or 50.

and Save it.

Now It should be working!

相关文章:

  • 2022-12-23
  • 2021-11-08
  • 2021-05-18
  • 2021-10-27
  • 2022-02-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-27
  • 2022-02-23
  • 2021-11-07
  • 2021-11-10
  • 2021-10-22
  • 2021-12-03
相关资源
相似解决方案