Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I Created a web part and add Event Receiver to handle ItemAdded event.

When run in visual studio , i get error

Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Couple of questions

  1. Are you deploying via Visual Studio? or Installing using STSADM/Powershell?

  2. Did you follow the guidelines for setting up your permissions to deploy from Visual Studio - Read here for those steps: http://rsuharta.wordpress.com/2011/05/25/error-occurred-in-deployment-step-activate-features-attempted-to-perform-an-unauthorized-operation/

The "unauthorized operation" is a very generic error and doesn't always tell you where you dont have permissions.

The link shared above though should help.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.