Debugging feature activation in SharePoint 2007

Posted by Eric U. on Stack Overflow See other posts from Stack Overflow or by Eric U.
Published on 2010-06-15T18:31:53Z Indexed on 2010/06/15 18:42 UTC
Read the original article Hit count: 378

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

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2008