Re: Killing a zombie service - RESOLVED
- From: Mark Edwards <Mark-Edwards@xxxxxxxxxxx>
- Date: Tue, 11 Jul 2006 10:17:40 -0500
Mark Edwards <Mark-Edwards@xxxxxxxxxxx> wrote:
I am developing a service with Delphi 2006.
I copied the code from another project, made the project-specific
modifications to the new project, and try to start the new service
with "SERVICENAME.exe /install".
What I get is a dialog box saying:
"Service 'SERVICE NAME' failed to install with
error: 'System Error: Code 1078.' The name is
already in use as either a service name or a
service display name."
However, the service does show up in the Service Manager console.
When I stop it, it times out, and when I try to uninstall it with
"SERVICENAME.exe /install", I get:
"Service 'SERVICE NAME' failed to uninstall with
error: 'System Error. Code 1060.' The specified
service does not exist as an installed service."
Even so, the service does disappear from the Service Manager console.
I don't see anything obvious in the registry that I can remove or
change, don't see anything obvious in the task list that I can remove,
and have no idea where to look further. Google hasn't been much
help...
So what do I need to look for, and how can I kill this zombie process?
Must be too much blood in my caffeine stream.
It seems I had two calls to Application.CreateForm for the same form.
Of COURSE, this would give me an error. I removed the extra call,
rebuilt, and all is well in whoville once again.
Mark Edwards
--
Proof of sanity Forged Upon Request
.
- References:
- Killing a zombie service?
- From: Mark Edwards
- Killing a zombie service?
- Prev by Date: Killing a zombie service?
- Next by Date: Re: Dynamic object naming
- Previous by thread: Killing a zombie service?
- Index(es):
Relevant Pages
|