This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
When deploying a K2 P&D package, on the deployment screen, an error is shown that a K2 Event receiver cannot be deployed.
When deploying a K2 P&D package the following error occurs: "K2 Event Receiver - ItemAdded SharePoint Item : Error Message: Access denied. You do not have permission to perform this action or access this resource".
This issue can occur when migrating a SharePoint site from one environment to another and the old K2 Event receivers are also moved across.
To fix the issue, please download the SharePoint Manager 2013: https://spm.codeplex.com/
Open the Manager and find the SharePoint Site collection you are trying to deploy to. Once you have located it, look for the specific list you are trying to deploy to, go to EventReceivers, and delete the event receiver that is shown in the error message. Please have a look at the example below.