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.
You are unable to activate the K2 for SharePoint app for site collections with the following error appearing on the activation stage (logged in host server log):
"0 System.Exception: The remote server returned an error: (404) Not Found."
You migrated from SharePoint 2010 to SharePoint 2013 (188.8.131.52) and are unable to activate the K2 for SharePoint app for site collections with the error appearing on the app activation stage.
To resolve this error it is necessary to delete the SharePoint 2010 web parts for K2 from the target site collection web part gallery. To access the web part gallery just add "/_catalogs/wp" to the site URL (e.g. http://portal.denallix.com/_catalogs/wp) to locate old K2 web parts and delete them.
There can be 2-3 of them, all containing "K2" in their name, e.g. "K2 Worklist.dwp" and "K2TaskList.webpart" and their deployment date should allow you to distinguish them from items installed along with the new version which should not be removed.