Skip to main content


 

Symptoms


When trying to deploy an app accelerator the following error was thrown:

SourceCode.SmartObjects.Client.SmartObjectException
The following errors were encountered: SPEventReceiversRuntimeService has encountered an error. Exception of type 'SourceCode.SmartObjects.Client.SmartObjectException' was thrown.: The 'K2 Event Receiver - ItemAdded' has a reference to 'K2 Event Receiver - ItemAdded' which could not be found.
 

Diagnoses


The error message was a red herring as it is getting thrown when the deployment checks for event receivers (which should get created earlier in the process) and doesn't find them. The reason they were not created (and thus could not be found) is because the Appit app had not been properly trusted.

 

Resolution

Trusting the app and running the registration wizard enabled the deployment to carry on successfully.

 




 
Be the first to reply!

Reply