Solved

Windows service

Posted on 2004-04-19
2
565 Views
Last Modified: 2010-04-24
I've made a windows service which I installed but It didn't work, so I uninstalled it and corrected the problem.
But when I tried to reinstalled it it say that there already is a service with that name, how do I remove that faulty service
0
Comment
Question by:RonaldBiemans
2 Comments
 
LVL 6

Accepted Solution

by:
zulu_11 earned 500 total points
ID: 10859284
Hi,

Whenever you create a service and install it, the OS makes an entry in the Registry about the service name and the event viewer..now you say that you unistalled the application..then these entries should have been removed automatically by the unistallation process..but that has not happened.
To correct this you'll have to manually remove the entries from the Registry..

1   Open your registry editor..type regedit in run window
2   goto  HKEY_LOCAL_MACHINE\System\CurrentControSet\Services
3. Now look for the folder with the service name that you had created previously..say TestService..
    Delete that folder..
4. Now, look for the EventLog folder under the Services folder..this folder contains all the Event Viewer loggin information.
5. If you did not specify any event viewer loogin information in you code then by default the errors in your code would be put into the Application Log..so open the Application Log and remove the folder with the name of you service...
6. Save the registry and restart..
This should solve your problem,,

Regards

Zulu
0
 

Expert Comment

by:poojasureshkumar
ID: 15033010
Hi Zulu,
I have installed the service through installer.I got display "Installed successfully",but my service is not displayed on Services list.
I followed the same procedure on
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod29.asp

Second issue is,
i created the same application in different system and installed the service.When i uninstall the service,still i am getting the outpur result.Also the Respective service is not listed in Services .

My email id is sureshunique@gmail.com

Pls help me out.

Thanks in Advance,
Suresh
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question