Error occurred in deployment step ‘Add Solution’: The solution cannot be deployed.

23 Feb

Issue: Got following error message when deploy solution in visual studio:

Directory “X” associated with feature ‘GUID1’ in the solution is used by feature ‘GUID2’ installed in the farm. All features must have unique directories to avoid overwriting files.”

Resolution for this issue.

– Run Manager Shell as Administrator:

stsadm -o uninstallfeature -id “GUID2” -force

– Deploy solution again.

Leave a comment

Posted by on 23/02/2013 in SharePoint


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: