I have started writing a simple feature to create a site column, and a content type. If I try to activate the feature as such, it gives me the error Value does not fall within the expected range and nothing much more helpful. If I remove the ContentType tag, the feature activates just fine and I can see the newly created Account site column. Any idea what the error is with the ContentType?
<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Field
ID="{345C9562-F0D9-4327-853B-5072E296823A}"
Name="Account"
DisplayName="Account"
Type="Text"
Group="Accounts">
</Field>
<ContentType
ID="0X010100"
Name="Account Doc"
Description="Account Doc"
Version="0"
Group="Account Types">
<FieldRefs>
<FieldRef
ID="{345C9562-F0D9-4327-853B-5072E296823A}"
Name="Account"
DisplayName="Account" />
</FieldRefs>
</ContentType>
</Elements>