Error appears when creating Service Instance: 'SmartObject Server Exception: Service Instance filename not specified Parameter name: FileName'
kbt149766
PRODUCTIssue
You receive the following error when creating a service instance from the Management page or from the SmartObject Service Tester:
"SmartObject Server Exception: Service Instance filename not specified Parameter name: FileName"
Symptoms
- Other service types' service instances may be created without encountering a similar error.
- If you have an existing service instance of the same service type, you will get the same error if you try to edit that service instance.
Troubleshooting Steps
- On your K2 database, run the following script to list all the service types:
SELECT *
FROM [SmartBroker].[ServiceType] - Look for the service type that corresponds to the service instance you want to create.
- Inspect the service type's ServiceTypeXML, and make sure the assembly path and assembly class is correct.
The assembly path should point to an actual dll assembly in your ServiceBroker folder.
For the assembly class, you can check with K2 Support, or compare with an existing working environment to verify if it is correct.
- If the assembly class or path is wrong, update the service type's ServiceTypeXML property with the updated values.
- Once you have updated the values, restart your K2 server service, and try creating a service instance again.