Pages

Tuesday, July 23, 2013

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

Exception

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

Resolution

Right click on the project go to Properties.
In the properties tab go to share point then there will be
two options in the Active Deployment Configuration
a. Default
b. No Activation

The option selected would be "Default" and the following
operations are performed in this option is
1. Run Pre-Deployment Command
2. Recycle IIS application pool
3. Retract Solution
4. Add Solution
5. Activate Features
6. Run Post Deployment Command

The following operations are performed in the "No Activation" option
1. Run Pre-Deployment Command
2. Recycle IIS application pool
3. Retract Solution
4. Add Solution
5. Run Post Deployment Command

Select the "No Activation" option and run the application.The build and deployment of the share point application will be successfull.

No comments:

Post a Comment