SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Not sure why this is happening but when i try to deactivate a template in the solution gallery i get the following exception:

Unable to access web scoped feature (Id: 7b1b586a-8460-44fb-a276-fc82be9a1d94) because it references a non-existent or broken web (Id: 584fc404-ec10-4e82-ab6d-486d78532e52) on site ''. Exception: System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPWebCollection.get_Item(Guid id)
at Microsoft.SharePoint.SPFeatureEnumeratorBase.GetCachedWeb(SPSite site, Guid webId, Guid featureId)

This is on a sharepoint enterprise server. Looking for recommendations so that i can deactivate and remove this solution from the gallery. TIA!

share|improve this question

Does the web in question exist in your Site Collection Recycle Bin? If so, empty the recycle bin and try deleting it then.

share|improve this answer
up vote 0 down vote accepted

Answer was to go the the recycle bin of the site collection and make sure that everything from 'End User Recycle Bin Items' AND 'Deleted from End User Recycle Bin Items' are deleted. I made the mistake of not deleting from the Deleted From view and that is why it still wouldn't deactivate. Hurray! Posting so it is here also

share|improve this answer
You beat me to it! :-) – Robert Kaucher Dec 7 '12 at 17:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.