My Insights
Error occurred in deployment step ‘Activate Features’
Problem
An error related to feature activation is generated when deploying a sharepoint wsp package using visual studio 2010’s default deployment configuration -
Error occurred in deployment step ‘Activate Features’
Workaround 1
Use the “No Activation” deployment configuration and use Post-deployment command-line operations to manually activate your features since the retraction process will deactivate your features regardless.
Workaround 2
Deploy using default configuration until you see error message. Then manually Enable/Disable problem features and then RE-DEPLOY using default configuration-
1) Enable-SPFeature -identity "FeatureTitle" -Url http://localhost
2) Disable-SPFeature -identity "FeatureTitle" -Url http://localhost
Tagged with: Activate • Deploy • Feature • Package • Retract • SharePoint 2010 • Visual Studio 2010 • WSP
One Response to Error occurred in deployment step ‘Activate Features’
Leave a Reply Cancel reply
Pages
What I'm Doing...
- What if Apple Designed SharePoint?: http://t.co/HmHXDXUV 3 days ago
- More updates...
Archives
- December 2011
- August 2011
- June 2011
- April 2011
- March 2011
- September 2010
- August 2010
- July 2010
- May 2010
- February 2010
- January 2010
- November 2009
- March 2009
- January 2009
- April 2008
- March 2008
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- March 2007
- February 2007
- December 2006
- October 2006
- September 2006
- August 2006
- June 2006
- May 2006
- April 2006
- March 2006
- December 2005
- September 2005
- August 2005
- June 2005
- April 2005
- March 2005
- February 2005
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- March 2004
- September 2003
- August 2003
- April 2003
Categories
- Chromium OS
- Internet Explorer 7
- Kwizcom
- Miscellaneous
- Movies
- MS Office
- Music
- Night on the Town
- Office 2007
- Outlook 2007
- Pictures
- Products/Shopping
- Recovered Entries (01/19/2005)
- Restaurants/Food
- Sharepoint 2007 ( MOSS / WSS )
- Sharepoint 2010 (SPS / Foundation)
- Tech
- The Law
- TV
- Uncategorized
- Video Games
- Vista
- Visual Studio 2010
- VMWARE
- VMWARE Server 2.0
- Website
- Windows Live
- Work
- XP





I tried Workaround 1 half way and was able to deploy the solution.
Thanks. Great post!