473,382 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Uninstalling a Windows Service

I have a windows service that want to un-install. When I run "installutil /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 7917
Please see error message below:

C:\Documents and Settings\Louis\My Documents\Visual Studio Projects\AlertProcess
or\AlertProcessor\bin>installutil /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\alertprocessor\alertprocessor\bin\alertpr ocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\my documents\visual studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.InstallLog.
Uninstalling assembly 'c:\documents and settings\louis\my documents\visual studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.exe'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\my documents\visual studio pro
jects\alertprocessor\alertprocessor\bin\alertproce ssor.exe
logfile = c:\documents and settings\louis\my documents\visual studio projects
\alertprocessor\alertprocessor\bin\alertprocessor. 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.ServiceProcess.Ser
viceInstaller 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 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\Visual Studio Projects\AlertProcess
or\AlertProcessor\bin>installutil /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\alertprocessor\alertprocessor\bin\alertpr ocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\my documents\visual studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.InstallLog.
Uninstalling assembly 'c:\documents and settings\louis\my documents\visual studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.exe'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\my documents\visual studio pro
jects\alertprocessor\alertprocessor\bin\alertproce ssor.exe
logfile = c:\documents and settings\louis\my documents\visual studio projects
\alertprocessor\alertprocessor\bin\alertprocessor. 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.ServiceProcess.Ser
viceInstaller 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 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\Visual Studio Projects\AlertProcess
or\AlertProcessor\bin>

"Larry Bird" wrote:
I have a windows service that want to un-install. When I run "installutil /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*******@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
Please see error message below:

C:\Documents and Settings\Louis\My Documents\Visual Studio
Projects\AlertProcess
or\AlertProcessor\bin>installutil /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\alertprocessor\alertprocessor\bin\alertpr ocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\my documents\visual
studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.InstallLog.
Uninstalling assembly 'c:\documents and settings\louis\my documents\visual
studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.exe'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\my documents\visual
studio pro
jects\alertprocessor\alertprocessor\bin\alertproce ssor.exe
logfile = c:\documents and settings\louis\my documents\visual studio
projects
\alertprocessor\alertprocessor\bin\alertprocessor. 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.ServiceProcess.Ser
viceInstaller 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
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\Visual Studio
Projects\AlertProcess
or\AlertProcessor\bin>installutil /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\alertprocessor\alertprocessor\bin\alertpr ocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\my documents\visual
studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.InstallLog.
Uninstalling assembly 'c:\documents and settings\louis\my documents\visual
studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.exe'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\my documents\visual
studio pro
jects\alertprocessor\alertprocessor\bin\alertproce ssor.exe
logfile = c:\documents and settings\louis\my documents\visual studio
projects
\alertprocessor\alertprocessor\bin\alertprocessor. 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.ServiceProcess.Ser
viceInstaller 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
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\Visual Studio
Projects\AlertProcess
or\AlertProcessor\bin>

"Larry Bird" wrote:
I have a windows service that want to un-install. When I run
"installutil /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*******@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
Please see error message below:

C:\Documents and Settings\Louis\My Documents\Visual Studio
Projects\AlertProcess
or\AlertProcessor\bin>installutil /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\alertprocessor\alertprocessor\bin\alertpr ocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\my documents\visual
studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.InstallLog.
Uninstalling assembly 'c:\documents and settings\louis\my documents\visual
studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.exe'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\my documents\visual
studio pro
jects\alertprocessor\alertprocessor\bin\alertproce ssor.exe
logfile = c:\documents and settings\louis\my documents\visual studio
projects
\alertprocessor\alertprocessor\bin\alertprocessor. 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.ServiceProcess.Ser
viceInstaller 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
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\Visual Studio
Projects\AlertProcess
or\AlertProcessor\bin>installutil /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\alertprocessor\alertprocessor\bin\alertpr ocessor.ex
e assembly's progress.
The file is located at c:\documents and settings\louis\my documents\visual
studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.InstallLog.
Uninstalling assembly 'c:\documents and settings\louis\my documents\visual
studi
o projects\alertprocessor\alertprocessor\bin\alertpr ocessor.exe'.
Affected parameters are:
assemblypath = c:\documents and settings\louis\my documents\visual
studio pro
jects\alertprocessor\alertprocessor\bin\alertproce ssor.exe
logfile = c:\documents and settings\louis\my documents\visual studio
projects
\alertprocessor\alertprocessor\bin\alertprocessor. 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.ServiceProcess.Ser
viceInstaller 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
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\Visual Studio
Projects\AlertProcess
or\AlertProcessor\bin>

"Larry Bird" wrote:
I have a windows service that want to un-install. When I run
"installutil /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*******@discussions.microsoft.com> wrote in message
news:A2**********************************@microsof t.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@DONT_SPAM_ME_hotmail.com> wrote in message
news:#e*************@tk2msftngp13.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*******@discussions.microsoft.com> wrote in message
news:A2**********************************@microsof t.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\Visual Studio Projects\AlertProcess
or\AlertProcessor\bin>installutil /u AlertProcessor.exe System.ComponentModel.Win32Exception: 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_lunchmeat_[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\Microsoft.NET\Framework\v1.1.4322\instal lUtil.exe" /u
"C:\MyService\bin\MyService.exe"

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_lunchmeat_[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
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...
4
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...
4
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...
1
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...
2
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...
3
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...
2
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
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...
5
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?...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.