Solved

Service question

Posted on 2003-11-18
3
193 Views
Last Modified: 2010-04-05
Hi
2 service begginer questions :

1) when i want to uninstall and the reinstall service i"m doing the following steps
Myservice.exe / uninstall

the service manager show that the service status is : disabled

How can i delete the service since when i try to re-install it by : Myservice.exe /install i receive error :"system error: code 1072 the specified service has been mark for deletion "


2) when i try to run the service i receive the error :

can not run the service on locale machine - why ?


0
Comment
Question by:asi
[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
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
ID: 9770664
guessing you must restart your machine before reinstalling
0
 
LVL 1

Expert Comment

by:pede
ID: 9785316
I would also like to know the answer to this problem. As kretzschmar said you have to reboot when this happens (service marked for deletion), but the real question is: how can we make sure the service is uninstalled, instead of just marked for deletion?

In my experience service manager must not be opened when uninstalling, as it may lock the service somehow. Maybe this is a Delphi issue, since I've only seen it happen with Delphi services, but I dont know. Anyway, I dont recall it happening when service manager is *not* open, so closing it before /uninstall could solve it. But thats just my experiences, I dont have any facts.

/Pede
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 9785360
usual the service-app cannot removed by the os,
because there is already an instance in memory.

therefore there is done an entry into the registry, i guess, not shure yet,
which remembers the os that this files are to be removed
on next startup, before any other files are executed

meikl ;-)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month6 days, 11 hours left to enroll

634 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