Can Milestone Event Server service be restarted or refreshed programmatically via MIP SDK?

I am running in to a scenario that service is still running but event delivery becomes unreliable or stops altogether. The only fix we’ve found is manually restarting the Event Server Windows service on the server machine, after which events start flowing correctly again.

This happens in some sites for first time only. after restarting works.

My questions:

  1. Is there any method exposed via the Config API (IConfigurationService) that allows restarting or refreshing the Event Server? I checked the Hardware-level InvokeMethod calls but couldn’t find anything at the server/system level for Event Server specifically.

  2. Is there a server-level InvokeMethod available on the System or RecordingServer config item that can trigger an Event Server restart or service reload?

  3. Is there any MIP SDK API (Platform SDK, Event Server SDK, or Config API) that exposes a “reload rules”, “reconnect”, or “refresh event processing” operation that might solve this without a full service restart?

  4. Alternatively, is there a known root cause for the Event Server becoming unresponsive to events while still running?

No, you cannot restart or refresh the Milestone Event Server service programmatically via the MIP SDK.

The MIP SDK does not provide functionality for controlling service states like restarting the Event Server. If you need to restart it, you may be able to use operating system commands such as net stop MilestoneEventServerService and net start MilestoneEventServerService. However, this approach should be used with caution.

If you’re encountering an issue related to the Event Server, it’s best to try and reproduce the problem consistently. If you can provide a clear recipe (including sample code if possible), Milestone support can attempt to reproduce it in their test environment and escalate it if necessary.

Please open a new topic if you want us to help troubleshooting and debugging.