SmartObject Exception Error When Registering the K2 Five for SharePoint App

  • 16 February 2021
  • 0 replies
  • 90 views

Userlevel 5
Badge +20
 

SmartObject Exception Error When Registering the K2 Five for SharePoint App

KB002186

PRODUCT
K2 Five 5.0
BASED ON
K2 Five 5.0
LEGACY/ARCHIVED CONTENT
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 you run the app registration or activate a site collection using the K2 Five for SharePoint app, the following error occurs:

 

Exception of type 'SourceCode.SmartObjects.Client.SmartObjectException' was thrown.

 

Image

 

 

 

Cause

When you run the app registration or activate a site collection using the K2 Five for SharePoint App, the K2 service account is used to execute these tasks. The error occurs when the K2 service account does not have the necessary permissions on the root category to create the SharePoint 2013 category.

 

Resolution

Follow the steps below to resolve the issue:

  1. Create the SharePoint 2013 category using the K2 Designer with an identity that has Security Administrator permissions.
    Image
  2. Open K2 Management and go to the SharePoint 2013 category in the Categories node.
    Image
  3. On the Security page, select the Everyone Role and click Break Inheritance.
  4. Add the K2 Service account and give it Allow permissions for View and Execute rights.
  5. Rerun the app registration or site collection activation.

 


0 replies

Be the first to reply!

Reply