Solved

Windows service

Posted on 2004-04-19
2
569 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

729 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