Hi,
I have finally got my windows service installing OK using the vs.net
installer- however, when I uninstall the application it leaves an orphned
service entry in the service control manager list. If I try and run the
'MyService' it says the system cannot find the specified file. If I try to
reinstall the service I get the error message that the service already
exists.
So, 2 questions really:
- How can I remove the dodgy entry manually?
- How can I get the windows installer to uninstall the service fully if
uninstalled via the Add/Remove programs interface?
Many thanks in advance,
Stu 4 2735
Oops. New machine - Just fixed my account name :-)
"news.microsoft .com" <s.****@cergis. com> wrote in message
news:uO******** ********@TK2MSF TNGP12.phx.gbl. .. Hi,
I have finally got my windows service installing OK using the vs.net installer- however, when I uninstall the application it leaves an orphned service entry in the service control manager list. If I try and run the 'MyService' it says the system cannot find the specified file. If I try to reinstall the service I get the error message that the service already exists.
So, 2 questions really:
- How can I remove the dodgy entry manually?
- How can I get the windows installer to uninstall the service fully if uninstalled via the Add/Remove programs interface?
Many thanks in advance,
Stu
When you uninstall are you leaving the services window open? I have seen
this cause issues because it locks the keys in the registry that control
what is listed and will not allow the entries to be removed.
"news.microsoft .com" <s.****@cergis. com> wrote in message
news:uO******** ********@TK2MSF TNGP12.phx.gbl. .. Hi,
I have finally got my windows service installing OK using the vs.net installer- however, when I uninstall the application it leaves an orphned service entry in the service control manager list. If I try and run the 'MyService' it says the system cannot find the specified file. If I try to reinstall the service I get the error message that the service already exists.
So, 2 questions really:
- How can I remove the dodgy entry manually?
- How can I get the windows installer to uninstall the service fully if uninstalled via the Add/Remove programs interface?
Many thanks in advance,
Stu
You should be able to locate the key that you need to remove by looking in
the registry under:
HKLM\CurrentCon trolSet\Service s
Then just delete the key... But the uninstaller should really take care of
that for you...
"news.microsoft .com" <s.****@cergis. com> wrote in message
news:uO******** ********@TK2MSF TNGP12.phx.gbl. .. Hi,
I have finally got my windows service installing OK using the vs.net installer- however, when I uninstall the application it leaves an orphned service entry in the service control manager list. If I try and run the 'MyService' it says the system cannot find the specified file. If I try to reinstall the service I get the error message that the service already exists.
So, 2 questions really:
- How can I remove the dodgy entry manually?
- How can I get the windows installer to uninstall the service fully if uninstalled via the Add/Remove programs interface?
Many thanks in advance,
Stu
That got it - it also required a reboot after the registry entry was
removed.
Many thanks.
Stu
"Ray Cassick (Home)" <rc************ @enterprocity.c om> wrote in message
news:OT******** ******@TK2MSFTN GP12.phx.gbl... You should be able to locate the key that you need to remove by looking in the registry under:
HKLM\CurrentCon trolSet\Service s
Then just delete the key... But the uninstaller should really take care of that for you...
"news.microsoft .com" <s.****@cergis. com> wrote in message news:uO******** ********@TK2MSF TNGP12.phx.gbl. .. Hi,
I have finally got my windows service installing OK using the vs.net installer- however, when I uninstall the application it leaves an orphned service entry in the service control manager list. If I try and run the 'MyService' it says the system cannot find the specified file. If I try to reinstall the service I get the error message that the service already exists.
So, 2 questions really:
- How can I remove the dodgy entry manually?
- How can I get the windows installer to uninstall the service fully if uninstalled via the Add/Remove programs interface?
Many thanks in advance,
Stu
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: SP |
last post by:
Hi All,
I wrote a windows service which is supposed to stop after specified amount
of time. I am calling OnStop() after specified time. OnStop() methods
executed but I dont see the service stopping.
Please advise how to stop the service.
Thanks,
SP
|
by: J Childs |
last post by:
I would like to write a program that can remove a windows service and I do
not wish to use the windows installer. Can someone point me in the right
direction?
Thanks
|
by: Scott Davies |
last post by:
Hi,
I'm looking for some help on a small program that I'm trying to develop in
VB.NET. I'm having trouble getting the code that I've written to work, can
anyone shed some light as to where I'm going wrong.
The program has been written to do the following tasks:
- Select remote server
- Select from two specific services
|
by: kevin |
last post by:
Is that even possible?
I am creating a web service in .NET to expose some already created .NET
programs to other groups. One group is writing the client in PERL, and thus
wishes the wsdl schema to not be sequenced. (PERL hashes do not retain order
information) First, the w3 specs don't mention the sequence in any detail -
its just there in the examples, which makes me wonder if removing the
sequence tag is even supportable. Second,...
|
by: tshad |
last post by:
What would be a good way to check programmatically whether a service was
running?
We have a service that dies periodically and I need to check to see if this
service is running. I know how to check to see if the status is in stopped
or running mode. But that doesn't tell me if it is actually running.
I need to know this so that if it happens I can programmatically start the
same service on another machine.
| |
by: dhxxx |
last post by:
I built a small windows service with vs 2005 2.0 beta. I have sinced removed
VS2005 beta, but forgot to un-install the windows service. Now if I go to
control panel->add/remove programes and try to remove it I get this error;
"InstallUtilLib.dll Unknown error"
How can I remove the service from my machine? The service is disabled
(obviously) but I am trying to clean stuff off the hard drive.
thanks
|
by: mantrid |
last post by:
I use
<form action="screen.php" target="_blank" method="post"and a submit button
to open a new separate window which is simply a display screen. I therefore
do not wish to have the address, tool and menu bars displayed. Can I do this
from the
form script? or would I have to put some HTML script on the page that is to
be opened. or is it only possible with java script?
Can anyone offer a solution on how to do this?
|
by: nappingcub |
last post by:
This is my first time coding a web service in .NET and ran into a slight snag that I was hoping that anyone could help me out on. I'm using the generic Hello World web service that is stubbed out on a new web service project since it can convey what I would like to do in the smallest amount of code.
I've figured out how to change the <HelloWorldResponse> to a different element name by using the SoapDocumentMethod parameters, but I can't find...
|
by: =?Utf-8?B?eHl6X2phdA==?= |
last post by:
Hi,
I have a windows service which uses XSL templates to format the data
received from SQL database in a dataset. The XSL templates allow to add
information (using parameters and variables) at various points in the text.
I'm looking for another approach which can allow me to replace XSLT and build
custom formatted strings(including hyper links, and rich text).
Any help is appreciated.
Thanks
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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();...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |