Tag Archives: Content deployment

Sharepoint 2010 Content Deployment Error : Feature ‘XXXXX-XXXX-XXXX’ is Site-scoped, and cannot be added to the Web.


When you do content deployment of your custom portal in Sharepoint 2010 you might get following error:

Content deployment job ‘Remote import job for job with sourceID = XXX-XXX-XXX-XXX: Import in progressThe exception thrown was ‘System.InvalidOperationException’ : ‘Feature ‘XXX-XXX-XXX’ is Site-scoped, and cannot be added to the Web.’


This occurs if you delete or retract your custom solution without deactivating and uninstalling  the feature for each deployed scope.


You need to cleanup your feature uninstallation. Always follow below steps to uninstall a feature

  • stsadm –o deactivatefeature –id a9efee03-12fc-46ca-acba-0ef1e0ae3171 -url http://site
  • stsadm –o uninstallfeature –id a9efee03-12fc-46ca-acba-0ef1e0ae3171
  • stsadm -o retractsolution -name CustomWebpart.wsp -immediate -url http://site
  • stsadm -o execadmsvcjobs
  • stsadm -o deletesolution -name CustomWebpart.wsp  

You need to do this for all your sites using the feature. Then try content deployment again.


Posted by on February 6, 2012 in Error, Sharepoint Server 2010


Tags: ,