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

Unable to Create Rest Based Service Instance - 'SmartObject Server Exception: Service Instance filename not specified Parameter name: FileName'

~~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.

Issue

When trying to create a REST base service instance via the Management page site or via the SmartObject tester tool, you are unable to continue and this prevents the creation of the service instance.

Symptoms

Checking the host server logs (Program Files or Program files x86 > K2 or K2 Blackpearl > Hostserver > Bin ) the following error may be seen:

'SmartObject Server Exception: Service Instance filename not specified Parameter name: FileName'

Troubleshooting Steps

 - Make sure that the assembly path within the SmartBroker.ServiceType table on the K2 database for this particular service instance is visible, if not this may have to be updated to the correct path as per the installation directory.

- Also make sure that the typefullname within the ServiceType table is showing as:

          SourceCode.SmartObjects.Services.Endpoints.Rest.Broker.

          and not as:

          SourceCode.SmartObjects.Services.Endpoints.Rest as this can cause further issues.

- Before making any changes make a backup of the K2 database.

- After the changes have been made, make sure that a K2 service restart is done.