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.

Issue

When attempting to deploy a package containing a Legacy workflow in K2 Five (5.2), the error below appears within the stack trace:

"SmartObject Server Exception: Service could not be extended."

Symptoms

The package will not deploy and will error out, showing the above error within the stack trace.

Troubleshooting Steps

K2 Five (5.2) does not support the creation of Workflow Reporting SmartObjects with Legacy solutions, such as those created using K2 Studio or K2 Designer for Visual Studio. 

To resolve the error message and successfully deploy the package, please do the following:

- Open the process in the designer it was created with, on the source environment.
- Click on the 'Process' tab and open the 'Associations.' 
- Here, uncheck 'Create Workflow Reporting SmartObjects,'
- Next, redeploy the workflow, and then create a new package. 

You should now be able to successfully deploy on the target environment.

Image 

The legacy tools are only available on upgraded environments (from blackpearl) which have client tools included on installation.