Feature (de)activation error “The web or site was not found” and Application Pool

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.

Problem

This particular time I was playing around with site-scoped features and newly created site collection. So here is my workflow:

  1. Create feature with feature receiver
  2. Deploy to Site Collection from Visual Studio using “No Activation” deployment profile
  3. 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

No Comments