<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

Code Fix: Activating a Subsite on SharePoint to use the K2 application presents an error

~~repeating-content.html~~
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.

Issue Description

When you have created a Subsite in SharePoint with a name that very closely resembles that of your main site and you attempt to activate the Subsite, an error is presented. For example:

 

Example 1

Example 2

Error Message

The following error occurs: “'ServiceObject definition does not contain method. ServiceObject : [Management_K2Application]. Method : [RemoveK2AppFromSite] '”

Cause

When creating a Subsite with a similar name to your main site results in a malformed URL to be returned when attempting to activate the Subsite.

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Download and Install the K2 4.7 March 2018 Cumulative Update from K2 Partner and Customer Portal.
  3. Get the K2 4.7 March 2018 Cumulative Update FP14 from Regional Support.
  4. Install the K2 4.7 March 2018 Cumulative Update FP14 to apply the fix.
  5. It is recommended to refresh the browser cache.
  6. You can now activate the SharePoint subsite collection.