Unable to register 'Oracle Service Instance' using the Smartobject Service Tester tool, the page hangs and doesn't respond.


After waiting for the register service instance, the following error was found in the K2 host server logs located in "C:\Program Files (x86)\K2\Host Server\Bin:

""96691534","2018-03-22 22:51:04","Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Runtime.

HostServerBroker.InternalMarshal","2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.RegisterServiceInstance, Timeout expired.

The timeout period elapsed prior to completion of the operation or the server is not responding. InnerException: The wait operation timed out","","","[K2 server name]:D:\Program Files (x86)\K2 blackpearl\Host Server\Bin","96691534","a8ae70f29305448bb859a43373b86303","" "96691535","2018-03-22"

Depending on the size of the Database, creating a service instance can either be fast or slow. If the message "not responding" appears, just ignore it and let process run.

Troubleshooting Steps

You can resolve this by increasing the CommandTimeout on K2HostServer.exe.config:

1. Open K2HostServer.exe.config file which is the default location for K2: "C:\Program Files (x86)\K2\Host Server\Bin"

2. Search for the "commandtimeout" keyword. (There should be 2 entries.) 

3. Edit the following line and increase the default value of commandtimeout="30" to "90" or "120" (always start from a smaller value and increase only if necessary.) Save the changes in configuration file.

4. Restart the K2 service.