Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
SharePoint 2010: "Check names" results in "Item cannot be more than 256 characters"
Article ID: 2654222 - View products that this article applies to.
Consider the following scenario:
You copied a series of users as a string from Outlook and pasted it into a User Control inside a SharePoint 2010 site.
You click on the "Check Names" icon and get the following error message:
"Item cannot be more than 256 characters."
Collapse this imageExpand this image
This is a by-design behavior which has been introduced in SharePoint 2010 as a security measure.
You still can insert up to 200 users inside a SharePoint 2010 user control box. You just need to use the "Check Names" control in smaller batches.
For example, you insert a number of users that add up to less than 256 characters and click the "Check Names" control. You then add another batch of users and click "Check Names", and so on until you have added and resolved all of the desired users.
The limitation of 200 users is defined by property DefaultMaximumEntities of Class PeopleEditor.
For more details, please check this MSDN article:
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.