SharePoint: Error occurred in deployment step 'Activate Features': Cannot complete this action. Please try again.

To one of my customs in my project, I added a new view in list Definition and that resulted in to the following error:

Error    1    Error occurred in deployment step 'Activate Features': Cannot complete this action.
Please try again.

I came across this error a number of times and there can be a number of reasons causing such a sort of problem depending on the type of SharePoint features you are working on. But in my case most of the time the problem lies in the List definitions i.e. schema.xml. Thats how the containing feature is not correctly activated. Reason can be e.g. invalid GUID of the added view/fields creates problem or Falsly defined element in schema.xml.

So to sort that out I changed the GUI of the newly added list view. I simply used "Creat GUID" tool inside visual studio to get a new GUID and replace this GUID with the already attached GUID of the list.

This sorted out the problem.
Hope this helps
Cheers
Vaqar Hyder

E: vaqar.hyder3567@gmail.com

A:

Siebenbürgen Straße 2/1, Korntal-Münchingen, 70825, PK

Hire me on Freelancer.com

Comments

Post a Comment

Popular posts from this blog

SPFx: Develop using SharePoint Framework without Installing all the dependecies.

SharePoint Online: Elevated Permissions....with love

Powershell: Filling up an Existing Excel Sheet with data from SQL Server