I am using Microsoft IW Demo VM (2010-10A) for my experiments related to SharePoint, in all cases when I don’t have time (read: when I’m lazy) to create complete SharePoint Dev environment.
This particular time I was playing around with site-scoped features and newly created site collection. So here is my workflow:
- Create feature with feature receiver
- Deploy to Site Collection from Visual Studio using “No Activation” deployment profile
- Activate feature from “Site Collection Features” interface in Site Collection Administration
and, in step 3 – BOOM, I receive YSOD from my SharePoint.
Read the rest of this entry on my blog: http://blog.dragan-panjkov.com/archive/2012/07/11/feature-deactivation-error-ldquothe-web-or-site-was-not-foundrdquo.aspx