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.
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
Error 1 Error occurred in deployment step 'Activate Features': Cannot complete this action.
Please try again.
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
wooooooooooow
ReplyDelete