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

Article translations Article translations
Article ID: 934613 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

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.

RESOLUTION

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.
Collapse this tableExpand this table
ValueDescription
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="http://schemas.Microsoft.com/sharepoint/">
	<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>

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 934613 - Last Review: October 8, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kberrmsg kbexpertiseinter kbwss30postrtm kbqfe kbbug kbfix KB934613

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com