K2 Configuration Service error when starting K2 Server in console mode: "Invoking 'StartHostServer': SourceCode.HostServerLib: Object reference not set to an instance of an object"

  • 16 February 2021
  • 0 replies
  • 504 views

Userlevel 5
Badge +20
 

K2 Configuration Service error when starting K2 Server in console mode: "Invoking 'StartHostServer': SourceCode.HostServerLib: Object reference not set to an instance of an object"

kbt167340

PRODUCT
K2 Five 5.3
BASED ON
K2 Five 5.3
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

This behavior will be seen on K2 Five 5.3 when trying to start up the K2 server in console mode.

Error 2001 Error Starting Host Server: System.NullReferenceException: Object reference not set to an instance of an object. at SourceCode.CloudLinkService.Badger.BadgerLinkService.Initialize(IServiceMarshalling serviceMarshalling, IServerMarshaling serverMarshalling) at SourceCode.CloudLinkService.CloudLinkService.TryInitialize() at SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableTypeInstance(IHostableType HostableTypeInstance) at SourceCode.Hosting.Server.Runtime.HostTypeLoader.InitAndEnrollHostableType(String HostedTypeName, String InterfaceName) at SourceCode.Hosting.Server.Runtime.HostTypeLoader.InitAndEnrollHostableTypes(String InterfaceName) at SourceCode.Hosting.Server.Runtime.HostServerEngine.StartHostServer() ;Error Invoking 'StartHostServer' : SourceCode.HostServerLib : Object reference not set to an instance of an object.

Image

Symptoms

K2 Service would not start up due to missing service that is not started.

Image

 

 

 

Resolution

The K2 Configuration Service on Windows Service which is built in, was not started.

This service was started up and the K2 Server started up as expected. (The K2 Server Service is dependent on the K2 Configuration Service.)

Image

 

 


0 replies

Be the first to reply!

Reply