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 attempting to configure the K2 for Sharepoint App following the normal procedures to run the registration wizard first, you see the following error on the Application step:
This stops you from continuing on with the initial configuration.
The full error that is seen during the registration wizard is the following:
SourceCode.SmartObjects.Client.SmartObjectException Source: SourceCode.SmartObjects.Client Method Base Member Type: Method Name: ExecuteScalar Module Scope Name: SourceCode.SmartObjects.Client.dll Declaring Type Full Name: SourceCode.SmartObjects.Client.SmartObjectClientServer Stack Trace: at SourceCode.SmartObjects.Client.SmartObjectClientServer.ExecuteScalar(SmartObject smartObject, DataTable inputTable) at SourceCode.Forms.AppFramework.FormRuntime.SmartObjectExecution(BrokerSmartObject brokerSmo, SmartObjectBrokerMetaData brokerMetaData, Boolean outputDependencies, SmartObjectClientServer smoClientServer, Queue`1 soInstances) at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(BrokerPackageCollection packages, SmartObjectClientServer smoClientServer) at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(Stream input, Stream output) at SourceCode.Forms.Runtime.AJAXCall.ProcessRequestInternal(HttpContext context)
This issue can occur due to there being old group providers within the K2 database
These can be cleared out via the K2 Management page > Users > SharePoint. From here you should be able to clear them out.
This is as per a Community article: