< class="prominent-subhead ">

Cannot create Service Instance of REST Service Type

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

You are  unable to create a Service Instance of REST Service Type from the SmartObject Tester Tool.

the following error occurs:

"SmartObject Server Exception: Service Instance filename not specified"

Image

Symptoms

After investigating the assembly used for the rest broker, we found there was a version difference between the clients environments.

The assembly in question were located at:
Program Files (x86)\K2\ServiceBroker\SourceCode.SmartObjects.Services.Endpoints.Rest.dll

Resolution

To resolve this, please do the following:
1. Take a backup of the assembly to a different location.
2. Stop the K2 service.
3. Replace the assembly from a working and matching K2 version environment with the same Cumulative update and Fixpack.
4. Start the K2 service.
Now when creating a rest service it works as expected.