Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Killing a zombie service?

7 views
Skip to first unread message

Mark Edwards

unread,
Jul 11, 2006, 9:52:53 AM7/11/06
to

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?

Mark Edwards
--
Proof of Sanity Forged Upon Request

Mark Edwards

unread,
Jul 11, 2006, 11:17:15 AM7/11/06
to
Mark Edwards <Mark-E...@comcast.net> wrote:

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

0 new messages