Solved

Service question

Posted on 2003-11-18
3
187 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
  • 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

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

20 Experts available now in Live!

Get 1:1 Help Now