开发者

Orphan Event Receivers SharePoint 2010

开发者 https://www.devze.com 2023-02-09 01:06 出处:网络
For some reason my feature event receiver still runs after deactivation and uninstall. I have an feature event receiver on my SharePoint 2010 server that runs on a survey list prevent users to delete

For some reason my feature event receiver still runs after deactivation and uninstall. I have an feature event receiver on my SharePoint 2010 server that runs on a survey list prevent users to delete survey respon开发者_JAVA技巧ses. If I deactivated the feature event receiver, I still can't delete responses. Even after I did an uninstall and iisreset, the event receiver was still running. My solution was to run a powershell command that will physically remove the event receiver from the survey list. Once I did that, I was able to delete survey responses from an existing survey. Any idea why even after an deactivation and uninstall I still have an attached event receiver to my survey list?


If you added the Event Receiver to a list in FeatureActivated, you should remove it from that list in FeatureDeactivating.

0

精彩评论

暂无评论...
验证码 换一张
取 消