Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Uninstall/Reinstall Error for Windows Service
This only happens on one of our clients machines. I noticed a problem where the windows service would hang and I couldnt restart or stop the service without killing the process first. the windows service won't disappear in the service list, even if the application is uninstalled and the service is manually uninstalled and the registry entries are deleted. I restart the computer and everything and it is still listed. so i reinstall our app, and manually try to uninstall the service again and the error i get is:
"warning: the source is not registered on the local machine.
Service is being removed from the system...
An exception occurred during the uninstallation of the System.ServiceProcess.ServiceInstaller installer.
System.ComponentModel.Win32Exception: the specified service does not exist as an installed service an exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. however, the application might not be fully uninstalled after the uninstall is complete. "
I then reinstall and get the following error:
"An exception occurred during the install phase.
System.componentmodel.win32exception: the name is already in use as either a service name or a service display name.
The rollback phase of the installation is beginning.
The installation failed, and the rollback has been performed."
how do i get around this to get the service to work again and install correctly? Any ideas would be greatly appreciated!