Unable to create rest based service instance

  • 15 February 2022
  • 0 replies
  • 72 views

Userlevel 5
Badge +20
 

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

kbt179255

PRODUCT
K2 Five
BASED ON
K2 Five (all)
TAGS
Service Broker
SmartObjects
REST
End User
Administrator
Troubleshooting Tool
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.


0 replies

Be the first to reply!

Reply