Sometimes you can face something like an error related to Access Denied when activating feature in SharePoint. It’s pretty common to happen when we are developing an automatized routine or anything that access SharePoint administration objects. As an example it can be Timer Job that will run in a specific schedule and you creates it on feature activation.

Access Denied page - Access Denied when activating feature in SharePoint
Access Denied page
Continue reading