473,750 Members | 2,202 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Uninstalling a Windows Service

I have a windows service that want to un-install. When I run "installuti l /u serivcename" I get the error that the serivce is not installed on my machine. However, when view the serivce console I still see my service there. What must be done to remove a windows service written in VB.Net from my system.

I'm trying un-install the service because I'm compiling it as a console application to perform debugging. I think it will be easier to debug. I have not been able to get the service running because of errors within my code. I know that I can debug a windows service however, you must first get things running to debug and I'm not at that point yet. For now I just want to un-install it and debug.

Thanks
Nov 20 '05 #1
7 7944
Please see error message below:

C:\Documents and Settings\Louis\ My Documents\Visua l Studio Projects\AlertP rocess
or\AlertProcess or\bin>installu til /u AlertProcessor. exe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

The uninstall is beginning.
See the contents of the log file for the c:\documents and settings\louis\ my docu
ments\visual studio projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\ my documents\visua l studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.In stallLog.
Uninstalling assembly 'c:\documents and settings\louis\ my documents\visua l studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex e'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\ my documents\visua l studio pro
jects\alertproc essor\alertproc essor\bin\alert processor.exe
logfile = c:\documents and settings\louis\ my documents\visua l studio projects
\alertprocessor \alertprocessor \bin\alertproce ssor.InstallLog
Removing EventLog source AlertProcessor.
Warning: The source AlertProcessor is not registered on the local machine.
Service AlertProcessor is being removed from the system...
An exception occurred during the uninstallation of the System.ServiceP rocess.Ser
viceInstaller installer.
System.Componen tModel.Win32Exc eption: 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 uninstalle
d after the uninstall is complete.

The uninstall has completed.
An exception occurred while uninstalling. This exception will be ignored and the
uninstall will continue. However, the application might not be fully uninstalle
d after the uninstall is complete.

C:\Documents and Settings\Louis\ My Documents\Visua l Studio Projects\AlertP rocess
or\AlertProcess or\bin>installu til /u AlertProcessor. exe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

The uninstall is beginning.
See the contents of the log file for the c:\documents and settings\louis\ my docu
ments\visual studio projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\ my documents\visua l studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.In stallLog.
Uninstalling assembly 'c:\documents and settings\louis\ my documents\visua l studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex e'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\ my documents\visua l studio pro
jects\alertproc essor\alertproc essor\bin\alert processor.exe
logfile = c:\documents and settings\louis\ my documents\visua l studio projects
\alertprocessor \alertprocessor \bin\alertproce ssor.InstallLog
Removing EventLog source AlertProcessor.
Warning: The source AlertProcessor is not registered on the local machine.
Service AlertProcessor is being removed from the system...
An exception occurred during the uninstallation of the System.ServiceP rocess.Ser
viceInstaller installer.
System.Componen tModel.Win32Exc eption: 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 uninstalle
d after the uninstall is complete.

The uninstall has completed.
An exception occurred while uninstalling. This exception will be ignored and the
uninstall will continue. However, the application might not be fully uninstalle
d after the uninstall is complete.

C:\Documents and Settings\Louis\ My Documents\Visua l Studio Projects\AlertP rocess
or\AlertProcess or\bin>

"Larry Bird" wrote:
I have a windows service that want to un-install. When I run "installuti l /u serivcename" I get the error that the serivce is not installed on my machine. However, when view the serivce console I still see my service there. What must be done to remove a windows service written in VB.Net from my system.

I'm trying un-install the service because I'm compiling it as a console application to perform debugging. I think it will be easier to debug. I have not been able to get the service running because of errors within my code. I know that I can debug a windows service however, you must first get things running to debug and I'm not at that point yet. For now I just want to un-install it and debug.

Thanks

Nov 20 '05 #2
The last time I had trouble uninstalling a service I wrote I had forgot to
stop it first...?

Greg

"Larry Bird" <La*******@disc ussions.microso ft.com> wrote in message
news:C0******** *************** ***********@mic rosoft.com...
Please see error message below:

C:\Documents and Settings\Louis\ My Documents\Visua l Studio
Projects\AlertP rocess
or\AlertProcess or\bin>installu til /u AlertProcessor. exe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

The uninstall is beginning.
See the contents of the log file for the c:\documents and
settings\louis\ my docu
ments\visual studio
projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\ my documents\visua l
studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.In stallLog.
Uninstalling assembly 'c:\documents and settings\louis\ my documents\visua l
studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex e'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\ my documents\visua l
studio pro
jects\alertproc essor\alertproc essor\bin\alert processor.exe
logfile = c:\documents and settings\louis\ my documents\visua l studio
projects
\alertprocessor \alertprocessor \bin\alertproce ssor.InstallLog
Removing EventLog source AlertProcessor.
Warning: The source AlertProcessor is not registered on the local machine.
Service AlertProcessor is being removed from the system...
An exception occurred during the uninstallation of the
System.ServiceP rocess.Ser
viceInstaller installer.
System.Componen tModel.Win32Exc eption: 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
uninstalle
d after the uninstall is complete.

The uninstall has completed.
An exception occurred while uninstalling. This exception will be ignored
and the
uninstall will continue. However, the application might not be fully
uninstalle
d after the uninstall is complete.

C:\Documents and Settings\Louis\ My Documents\Visua l Studio
Projects\AlertP rocess
or\AlertProcess or\bin>installu til /u AlertProcessor. exe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

The uninstall is beginning.
See the contents of the log file for the c:\documents and
settings\louis\ my docu
ments\visual studio
projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\ my documents\visua l
studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.In stallLog.
Uninstalling assembly 'c:\documents and settings\louis\ my documents\visua l
studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex e'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\ my documents\visua l
studio pro
jects\alertproc essor\alertproc essor\bin\alert processor.exe
logfile = c:\documents and settings\louis\ my documents\visua l studio
projects
\alertprocessor \alertprocessor \bin\alertproce ssor.InstallLog
Removing EventLog source AlertProcessor.
Warning: The source AlertProcessor is not registered on the local machine.
Service AlertProcessor is being removed from the system...
An exception occurred during the uninstallation of the
System.ServiceP rocess.Ser
viceInstaller installer.
System.Componen tModel.Win32Exc eption: 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
uninstalle
d after the uninstall is complete.

The uninstall has completed.
An exception occurred while uninstalling. This exception will be ignored
and the
uninstall will continue. However, the application might not be fully
uninstalle
d after the uninstall is complete.

C:\Documents and Settings\Louis\ My Documents\Visua l Studio
Projects\AlertP rocess
or\AlertProcess or\bin>

"Larry Bird" wrote:
I have a windows service that want to un-install. When I run
"installuti l /u serivcename" I get the error that the serivce is not
installed on my machine. However, when view the serivce console I still
see my service there. What must be done to remove a windows service
written in VB.Net from my system.

I'm trying un-install the service because I'm compiling it as a console
application to perform debugging. I think it will be easier to debug. I
have not been able to get the service running because of errors within my
code. I know that I can debug a windows service however, you must first
get things running to debug and I'm not at that point yet. For now I
just want to un-install it and debug.

Thanks

Nov 20 '05 #3
I have made sure that the service is stopped first. I continue to get the same error. Any help is greatly appreicated.

Thanks

"Greg Burns" wrote:
The last time I had trouble uninstalling a service I wrote I had forgot to
stop it first...?

Greg

"Larry Bird" <La*******@disc ussions.microso ft.com> wrote in message
news:C0******** *************** ***********@mic rosoft.com...
Please see error message below:

C:\Documents and Settings\Louis\ My Documents\Visua l Studio
Projects\AlertP rocess
or\AlertProcess or\bin>installu til /u AlertProcessor. exe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

The uninstall is beginning.
See the contents of the log file for the c:\documents and
settings\louis\ my docu
ments\visual studio
projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\ my documents\visua l
studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.In stallLog.
Uninstalling assembly 'c:\documents and settings\louis\ my documents\visua l
studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex e'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\ my documents\visua l
studio pro
jects\alertproc essor\alertproc essor\bin\alert processor.exe
logfile = c:\documents and settings\louis\ my documents\visua l studio
projects
\alertprocessor \alertprocessor \bin\alertproce ssor.InstallLog
Removing EventLog source AlertProcessor.
Warning: The source AlertProcessor is not registered on the local machine.
Service AlertProcessor is being removed from the system...
An exception occurred during the uninstallation of the
System.ServiceP rocess.Ser
viceInstaller installer.
System.Componen tModel.Win32Exc eption: 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
uninstalle
d after the uninstall is complete.

The uninstall has completed.
An exception occurred while uninstalling. This exception will be ignored
and the
uninstall will continue. However, the application might not be fully
uninstalle
d after the uninstall is complete.

C:\Documents and Settings\Louis\ My Documents\Visua l Studio
Projects\AlertP rocess
or\AlertProcess or\bin>installu til /u AlertProcessor. exe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

The uninstall is beginning.
See the contents of the log file for the c:\documents and
settings\louis\ my docu
ments\visual studio
projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\ my documents\visua l
studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.In stallLog.
Uninstalling assembly 'c:\documents and settings\louis\ my documents\visua l
studi
o projects\alertp rocessor\alertp rocessor\bin\al ertprocessor.ex e'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\ my documents\visua l
studio pro
jects\alertproc essor\alertproc essor\bin\alert processor.exe
logfile = c:\documents and settings\louis\ my documents\visua l studio
projects
\alertprocessor \alertprocessor \bin\alertproce ssor.InstallLog
Removing EventLog source AlertProcessor.
Warning: The source AlertProcessor is not registered on the local machine.
Service AlertProcessor is being removed from the system...
An exception occurred during the uninstallation of the
System.ServiceP rocess.Ser
viceInstaller installer.
System.Componen tModel.Win32Exc eption: 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
uninstalle
d after the uninstall is complete.

The uninstall has completed.
An exception occurred while uninstalling. This exception will be ignored
and the
uninstall will continue. However, the application might not be fully
uninstalle
d after the uninstall is complete.

C:\Documents and Settings\Louis\ My Documents\Visua l Studio
Projects\AlertP rocess
or\AlertProcess or\bin>

"Larry Bird" wrote:
I have a windows service that want to un-install. When I run
"installuti l /u serivcename" I get the error that the serivce is not
installed on my machine. However, when view the serivce console I still
see my service there. What must be done to remove a windows service
written in VB.Net from my system.

I'm trying un-install the service because I'm compiling it as a console
application to perform debugging. I think it will be easier to debug. I
have not been able to get the service running because of errors within my
code. I know that I can debug a windows service however, you must first
get things running to debug and I'm not at that point yet. For now I
just want to un-install it and debug.

Thanks


Nov 20 '05 #4
This is a (very) long shot, but once I had compiled and installed a service
with NET 1.0. Upgraded source code to NET 1.1 and tried to uninstall to
reinstall new version. Wouldn't do it. Solution was to installutil from
prior framework folder. I told you it was a long shot. :^)

Greg

"Larry Bird" <La*******@disc ussions.microso ft.com> wrote in message
news:A2******** *************** ***********@mic rosoft.com...
I have made sure that the service is stopped first. I continue to get the
same error. Any help is greatly appreicated.

Thanks

Nov 20 '05 #5
Insure that the service will start (again). Assuming that the service
starts, then check the location that the service starts from. I have
seen this happen when I installed from one location and attempted to
stop from an another. I have also seen this when I changed the assembly
(in a different directory of course), stopped the service, copied the
changed (and now non-functional for any reason) assembly over the one
that the service is pointed to. In that case, I had to write a stub
service (with the same assembly name) that I could run and stop. This
allowed me to un-install the service.

HTH

David

"Greg Burns" <greg_burns@DON T_SPAM_ME_hotma il.com> wrote in message
news:#e******** *****@tk2msftng p13.phx.gbl:
This is a (very) long shot, but once I had compiled and installed a
service
with NET 1.0. Upgraded source code to NET 1.1 and tried to uninstall to

reinstall new version. Wouldn't do it. Solution was to installutil from

prior framework folder. I told you it was a long shot. :^)

Greg

"Larry Bird" <La*******@disc ussions.microso ft.com> wrote in message
news:A2******** *************** ***********@mic rosoft.com...
I have made sure that the service is stopped first. I continue to get
the
same error. Any help is greatly appreicated.

Thanks


Nov 20 '05 #6
On Mon, 5 Jul 2004 14:12:01 -0700, Larry Bird wrote:
C:\Documents and Settings\Louis\ My Documents\Visua l Studio Projects\AlertP rocess
or\AlertProcess or\bin>installu til /u AlertProcessor. exe System.Componen tModel.Win32Exc eption: The specified service does not exist as an
installed service


I notice that you have added '.exe' to the end of the service name. Have
you tried by just using the service name and not the name of the executable
file? i.e. have you tried:

installutil /u AlertProcessor

Without the '.exe' on the end.

--
Chris

dunawayc[AT]sbcglobal_lunch meat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 20 '05 #7
I hade made a batch file to install and uninstall my service for when I was
testing. It had the exe extension and always worked for me...

"C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\i nstallUtil.exe" /u
"C:\MyService\b in\MyService.ex e"

Greg
I notice that you have added '.exe' to the end of the service name. Have
you tried by just using the service name and not the name of the
executable
file? i.e. have you tried:

installutil /u AlertProcessor

Without the '.exe' on the end.

--
Chris

dunawayc[AT]sbcglobal_lunch meat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.

Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2610
by: MW | last post by:
Hi all, I have written a windows service application and setup project to install/deinstall my service. There is a requirement to run one more instance of the same service with different set of configurations and connecting to a different database. Both the services will run on the same box. Is it possible to do that? Someone suggested that there are entries in the windows registry that can be
4
4357
by: Wayne | last post by:
First if there is a better group to post this to please let me know. Installutil Service.exe /u will uninstall a service. However, if I try to reinstall the service without rebooting it error's out saying that the service is marked for deletion. Is there a way to have windows complete the service uninstall without rebooting? -- Thanks Wayne Sepega
4
3320
by: Nathan Kovac | last post by:
I have a windows service project created with a timer that fires an event over and over. I created an installer & the service appears to install correctly. When I try to start the service I get a message that the service started and stopped. Is there some setting I need to do to make the service keep going until I tell it to stop? Thanks, Nathan
1
1459
by: SStory | last post by:
I created my first Windows Service in dotnet 1.1. I installed it. It needs debugging. I couldn't stop it so a rebooted. Then I made the mistake of fixing code for it and rebuilding and replacing the previoius myservice.exe with the new one before doing InstallUtil /U on the old one. Now I can't seem to uninstall the old or install the new.
2
1800
by: russ.haley | last post by:
I have created a small windows service in C# that installs using the service installer classes and a deployment project. I have been able to install the service but the uninstallation does not work. The files are deleted from the application directory but the service is not being unregistered. The instructions I found did not indicate any code changes were necessary, but I have found reference on Google to changing the CanShutdown...
3
2267
by: Michael | last post by:
Hello, I have created a windows service in C# that watches a folder, then moves files place in it to another server. When I test this service on my local machine it runs great. I have had it running for about 5 days now. I have put in plenty of error coding just in case something goes wrong. My problem is that I have tried to move it to a Windows 2003 server. It installs with no problem. When I start the service it gives me a message...
2
1782
by: teejayem | last post by:
I am having problems creating a Windows Service using Visual Studio 2005. Code as follows:- Imports System.IO Imports System.Net.Mail
2
2289
by: =?Utf-8?B?c3lzdGVtQ29uc3VsdGFudA==?= | last post by:
Can I use EnumchildWindows from a windows service to find the IE windows and Solitaire windows belonging to the logged on user? And if so then I'll need to know what call to use to get the users desktop window handle to enum them - Assuming GetDesktopWindow doesn't at this point. I can do all this in a Forms application (trying to convert to service) but as a service it simply doesn't think there are any of those windows open.
5
3306
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name? Why do I need to set a property within my code to the service name? Are all these required or am I just doing this for consistency purposes?
0
8836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9575
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6803
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4712
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3322
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.