Solved

Windows service

Posted on 2004-04-19
2
556 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now