The CHAPI service should self-install when you run the .MSI installer for CHAPI, at times you may also not be able to manually register it via command-line using chapi_-_command_line_registration_of_chapi_service .

Prerequisites
  • The CHAPI folder must exist and have the appropriate files in it.
  • The Chapi.ServiceHost.config must exist and contain the appropriate connection strings.

We will utilize the Windows command SC to create a new windows service named CHAPI.ServiceHost_12556. This merely adds the service into windows, you'll need to configure it to run automatically afterwards.

  1. To register the service, Open a command prompt with Administrative level permissions.
  2. Type the following command
    • SC Create CHAPI.ServiceHost_12556 binPath= "C:\Program Files (x86)\Cyrious\Control\Chapi\CHAPI.ServiceHost.exe" start= Auto
  3. If successful, you will receive a message stating the [SC] CreateService Success.
  4. You will need to manually start the service after creating it.
Deleting the CHAPI.ServiceHost_12556 Service

At times you may want to manually delete the service from the windows service list.

  1. To delete the service, Open a command prompt with Administrative level permissions.
  2. Type the following command
    • SC Delete CHAPI.ServiceHost_12556
  3. If successful, you will receive a message stating the [SC] DeleteService Success.

Contributor: Brandon Readlinger, Cyrious

Date: 03/09/2016

You could leave a comment if you were logged in.