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.
Unable to start the K2 service and this error appears:"2001 Error Starting Host Server: Object reference not set to an instance of an object."
The error below keeps getting logged before and after the Object Reference error message: :The server [SERVER]:0 does not exist. Please reconfigure or contact support."
The server name specified is correct but it points to port 0 instead of 5555
To resolve this issue, please check in the K2HostServer.exe.config if the keys below are missing under <appSettings>:
<add key="addomain" value="[K2 SERVER]" />
<add key="port" value="5555" />
Please restart the K2 service once any changes are done.