SharePoint Deployment Error - Activate Features / Invalid Field Name

2 June 2011

Just a quick tip - if you ever get an error message like this while attempting to deploy your SharePoint solution:

Error occurred in deployment step 'Activate Features': Invalid field name. {a41610db-0111-461c-8280-da6d0e28709d}

One thing to check is that you've actually specified the Name property for your Field References - I had

  <FieldRef ID="{A41610DB-0111-461C-8280-DA6D0E28709D}" DisplayName="Is Current Delegation" ShowInNewForm="FALSE" ShowInEditForm="FALSE"/>

whereas I should have had:

  <FieldRef ID="{A41610DB-0111-461C-8280-DA6D0E28709D}" Name="IsCurrentDelegation" DisplayName="Is Current Delegation" ShowInNewForm="FALSE" ShowInEditForm="FALSE"/>

Tags: deployment, feature, SharePoint 2010, errors, fields

Add a Comment

No Comments