Symptoms
After installing the version 4.7 update on our development server, we encountered errors during the SharePoint registration wizard - Part "AppCatalogName->K2 for SharePoint->Settings->Manage App Activations" - Sub part "Activation". In the log file we found the following errors: "2382650297","2016-11-25 14:37:23","Error","General","0","ErrorMessage","SharePoint Broker","0 Microsoft.SharePoint.Client.ServerException: Impossible de trouver le groupe. ? SourceCode.SmartObjects.Services.SharePoint.TransientPlanExecutor.ExecutePlan() ? SourceCode.SmartObjects.Services.SharePoint.Operations.SPGroup.GroupExecutableObject.GetGroupTitlesForIds() ? SourceCode.SmartObjects.Services.SharePoint.Operations.SPGroup.GroupExecutableObject.ExecuteObject() ? SourceCode.SmartObjects.Services.SharePoint.SharePointService.Execute(). Additional info: Impossible de trouver le groupe.SPRequestGuid : 14deba9d-938a-8009-4a5d-d8a9d84a2f85 Broker Method : GetGroupTitlesForIds .","anonymous","0.0.0.0","Hermes-BPM1-dev:C:Program Files (x86)K2 blackpearlHost ServerBin","2382650297","309789f9b4bc4b71b48ceb83e7bbe9ab","" "2382650299","2016-11-25 14:37:23","Error","SmartObjects","10702","Error","SourceCode.SmartObjects.ServiceBroker rExecuteSmartObject]","10702 An error occurred in the hermes_http1_dev_assemblee_nationale_fr___sites___hermes Service Instance. Impossible de trouver le groupe.","anonymous","0.0.0.0","Hermes-BPM1-dev:C:Program Files (x86)K2 blackpearlHost ServerBin","2382650299","5eabee289ca24060bde4af0a2937fe41","" "2382650308","2016-11-25 14:37:23","Error","General","0","ErrorMessage","IntegrationService.Execute","0 SourceCode.SmartObjects.Client.SmartObjectException: Une exception de type 'SourceCode.SmartObjects.Client.SmartObjectException' a ?t? lev?e. ? SourceCode.SmartObjects.Client.SmartObjectClientServer.GetSmartObjectReader(SmartObject smartObject, ExecuteListReaderOptions options, Dictionary`2and propertyReference) ? SourceCode.SmartObjects.Client.SmartObjectClientServer.ExecuteListDataTable(SmartObject smartObject, ExecuteListOptions options) ? SourceCode.SmartObjects.Services.SharePoint.Integration.Execution.Execute.ExecuteSmartObjectListMethod(String smartObjectName, String methodName, Dictionary`2 inputProperties, Boolean asService, Filter filter) ? SourceCode.SmartObjects.Services.SharePoint.Integration.Execution.Execute.GetSPGroupTitles(String instanceSiteUrl, String groupIds) ? SourceCode.SmartObjects.Services.SharePoint.Integration.Execution.Execute.AddExportRights(String groupIds, List`1 adminPermissionsList, String siteUrl) ? SourceCode.SmartObjects.Services.SharePoint.Integration.Execution.Execute.ManageSolutionDesignerServerRights(String siteUrl, String groupIds, Boolean removeUnspecified) ? SourceCode.SmartObjects.Services.SharePoint.Integration.Execution.Execute.ManageK2ApplicationSettings(ServiceInstance Service) ? SourceCode.SmartObjects.Services.SharePoint.Integration.IntegrationService.Execute(). Additional info: IntegrationService.Execute.","anonymous","0.0.0.0","Hermes-BPM1-dev:C:Program Files (x86)K2 blackpearlHost ServerBin","2382650308","dee68520fd514cc3b94cc82c5f39c2cd","" "2382650309","2016-11-25 14:37:23","Error","SmartObjects","10702","Error","SourceCode.SmartObjects.ServiceBroker rExecuteSmartObject]","10702 An error occurred in the SharePointIntegration Service Instance. Thread 1: Impossible de trouver le groupe. ","anonymous","0.0.0.0","Hermes-BPM1-dev:C:Program Files (x86)K2 blackpearlHost ServerBin","2382650309","bab5b17e010d44939ec475f50327a221","" "2382657495","2016-11-25 14:40:08","Error","General","0","ErrorMessage","SharePoint Broker","0 Microsoft.SharePoint.Client.ServerException: Impossible de trouver le groupe. ? SourceCode.SmartObjects.Services.SharePoint.TransientPlanExecutor.ExecutePlan() ? SourceCode.SmartObjects.Services.SharePoint.Operations.SPGroup.GroupExecutableObject.GetGroupTitlesForIds() ? SourceCode.SmartObjects.Services.SharePoint.Operations.SPGroup.GroupExecutableObject.ExecuteObject() ? SourceCode.SmartObjects.Services.SharePoint.SharePointService.Execute(). Additional info: Impossible de trouver le groupe.SPRequestGuid : 3cdeba9d-c3c8-8009-4a5d-dba684513d18
Diagnoses
Lot of tests done by the K2 France Consultant
Resolution
The K2 Expert did the following actions to solve the problem: 1) Use the SmartObject Service Tester to know the ID of the site: SmartObject ExplorerSharePoint 2013{Site name}ManagementSiteMethodsGetSite Example: SmartObject ExplorerSharePoint 2013portal.denallix.comManagementSiteMethodsGetSite Run this method without parameters and retrieve the "ID (Guid)". 2) Use the SmartObject Service Tester to remove the K2 application: SmartObject ExplorerSharePoint 2013{Site name} - sites - appcatalogManagementK2 ApplicationMethodsRemove App Example: SmartObject ExplorerSharePoint 2013portal.denallix.com - sites - appcatalogManagementK2 ApplicationMethodsRemove App Enter in the "Product ID (Guid)" parameter the ID of the point 1.