Select the product you need help with
SharePoint 2010: "Check names" results in "Item cannot be more than 256 characters"Article ID: 2654222 - View products that this article applies to. SymptomConsider 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 image ![]() CauseThis is a by-design behavior which has been introduced in SharePoint 2010 as a security measure. ResolutionYou 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. More InformationThe limitation of 200 users is defined by property DefaultMaximumEntities of Class PeopleEditor. For more details, please check this MSDN article: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.peopleeditor.defaultmaximumentities.aspx
(http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.peopleeditor.defaultmaximumentities.aspx)
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.PropertiesArticle ID: 2654222 - Last Review: January 10, 2012 - Revision: 5.0
|



Back to the top








