Uncategorized

Error occurred in deployment step ‘Activate Features’: Key cannot be null Content Type (SharePoint 2010)


When we Create SharePoint content type In visual studio 2010, we may encounter some minor errors. In my case I have created some site column and referred these in to my content type. build was succeed but I encounter error when Vs2010 tried to activate feature.
Check the screen shots.

build succeed , no error on complie time

build succeed , no error on complie time

error found when try to deploye

error found when try to deploye

Again I tried to reference the site column and change the closing tag. Which solved my problem.check the screen shot.

SharePoint does not understand this <FieldRef></FieldRef> empty element but it does understand the <FieldRef />

SharePoint does not understand this <FieldRef></FieldRef> empty element but it does understand the <FieldRef />

Standard

One thought on “Error occurred in deployment step ‘Activate Features’: Key cannot be null Content Type (SharePoint 2010)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s