Error message when you try to install a feature in Windows SharePoint Services 3.0: "The 'UserSelectionMode' attribute is not allowed"

This article has been archived. It is offered "as is" and will no longer be updated.
You try to install a feature in a Microsoft Windows SharePoint Services 3.0 Web site that uses the UserSelectionMode attribute or the UserSelectionScope attribute for a column that has the "User" type. When you do this, you receive an error message that resembles the following error message:
Feature definition with Id 50af2204-cb5a-46e2-abe0-73735129d1fc failed validation, file 'columns.xml', line 8, character 3: The 'UserSelectionMode' attribute is not allowed.

How to obtain the hotfix

This issue is fixed in the Windows SharePoint Services 3.0 Hotfix Package that is dated April 12, 2007. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
934790 Description of the Windows SharePoint Services 3.0 hotfix package: April 12, 2007

How to enable the hotfix

To enable this hotfix, modify the Columns.xml file to add the values for the UserSelectionMode attribute and for the UserSelectionScope attribute. The following table lists the valid values for these attributes.
0PeopleOnly: No restriction for a particular Windows SharePoint Services group
1PeopleAndGroups: Restricts user selection to a particular Windows SharePoint Services group
Note The following code is an example of the Columns.xml file.
<Elements xmlns="">	<Field 		Type="User" 		DisplayName="UserColumn" 		List="UserInfo" 		Required="FALSE" 		ShowField="ImnName" 		UserSelectionMode="1" 		UserSelectionScope="0" 		Group="Custom Columns" 		ID="{CC0F36E3-4BB2-4ba1-8872-D941C9223D92}" 		SourceID="{d7d2586b-0e43-4481-8cba-bf959098bf6a}" 		StaticName="UserColumn" 		Name="UserColumn" >	</Field></Elements>
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
wss3 wss30 wss3.0

Article ID: 934613 - Last Review: 01/16/2015 02:17:19 - Revision: 3.0

Microsoft Windows SharePoint Services 3.0

  • kbnosurvey kbarchive kberrmsg kbexpertiseinter kbwss30postrtm kbqfe kbbug kbfix KB934613