0

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.

1 Answer 1

0

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.

1
  • Unfortunately the web page of the link is now down.
    – Francis
    Commented Dec 14, 2016 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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