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.
When attempting to launch the 'K2 Application' in a list/library, the following error appears:
"Thread 1: Exception of type 'SourceCode.SmartObjects.Client.SmartObjectException' appears.
• Method Base
o Member Type:
o Declaring Type
• 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)"
Launching the K2 application in other sites works for the same user.
From internal logging, an error indicates that a group could not be found.
Looking at the hidden 'K2 Settings' list that exists on all sites where K2 Appit is activated to, it was determined that there was an invalid group ID in the 'Solution_Designers' and 'Solution_Participants' list item.
The hidden 'K2 Settings' list can be viewed by appending 'Lists/K2 Settings' to the end of the site URL. i.e.
To determine if the group is valid or not, one can pass the group ID into the SharePoint people.aspx page. i.e.
An invalid group ID will return the following page:
Removing the invalid group ID from the hidden 'K2 Settings' list resolved the issue.