Debugging feature activation in SharePoint 2007
- by Eric U.
I have a SharePoint feature that is activated under 'Site Collection Features' that is having some issues being activated. I've activated it through the stsadm as well as the SharePoint UI, both unsuccessful. The feature toggles from deactivated to activated, but the result that should be there is not. The result is some pages that should be created. So my question is does anyone know of a way to step through the activation of features process? I'd like to be able to attach Visual Studio 2008 to the browser and step through a few breakpoints that I've set.
I've narrowed the error down to the FeatureReceiver's FeatureActivated(SPFeatureReceivrProperties properties)
Pages that I've been referencing:
http://msdn.microsoft.com/en-us/library/ee231550.aspx
http://blogs.msdn.com/b/sharepoint/archive/2007/04/10/debugger-feature-for-sharepoint.aspx