Code Fix: Activating a Subsite on SharePoint to use the K2 application presents an error
KB002517
PRODUCT
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 to use the K2 for SharePoint Application, an error is presented.
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 to use the K2 for SharePoint application.
Example 1
- Main SharePoint site collection = https://portal.sharepoint.com
- Subsite name = port
- This creates a URL of https://portal.sharepoint.com/port
Example 2
- Main SharePoint site collection = https://123.sharepoint.com
- Subsite name = 123
- This creates a URL of https://123.sharepoint.com/123
Resolution
- Ensure you have K2 Five RTM installed.
- Get the K2 Five RTM FP29 from Regional Support.
- Install the K2 Five RTM FP29 to apply the fix.
- It is recommended to refresh the browser cache.