Windows 2003 Server

Moderators: None (Apply to moderate this forum)
Number of threads: 17
Number of posts: 18

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Uninstall/Reinstall Error for Windows Service Posted by jpmuus47 on 19 Feb 2009 at 4:03 PM
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 <example> is not registered on the local machine.
Service <example> 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.
etc etc
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!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.