private void butStartListenerService_Click(object sender, EventArgs e) { //No setup permission check here so that anyone can hopefully get the service back up and running. //Check to see if the service started up on its own while we were in this window. if (FillTextListenerServiceStatus() == eServiceSignalSeverity.Working) { //Use a slightly different message than below so that we can easily tell which part of this method customers reached. MsgBox.Show(this, "Listener Service already started. Please call us for support if eServices are still not working."); return; } //Check to see if the listener service is installed on this computer. List <ServiceController> listEConnectorServices = ServicesHelper.GetServicesByRegistryImagePath("OpenDentalEConnector.exe"); if (listEConnectorServices.Count == 0) { MsgBox.Show(this, "eConnector Service not found on this computer. The service can only be started from the computer that is hosting eServices."); return; } Cursor = Cursors.WaitCursor; string serviceErrors = ServicesHelper.StartServices(listEConnectorServices); Cursor = Cursors.Default; if (!string.IsNullOrEmpty(serviceErrors)) { string error = Lan.g(this, "There was a problem starting eConnector Services. Please go manually start the following eConnector Services") + ":\r\n" + serviceErrors; MessageBox.Show(error); } else { MsgBox.Show(this, "eConnector Services Started."); } FillTextListenerServiceStatus(); FillGridListenerService(); }