Re: Killing a zombie service - RESOLVED



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
.



Relevant Pages

  • Killing a zombie service?
    ... "Service 'SERVICE NAME' failed to install with ... error: 'System Error: Code 1078.' ... When I stop it, it times out, and when I try to uninstall it with ... the service does disappear from the Service Manager console. ...
    (alt.comp.lang.borland-delphi)
  • Re: Need help saving computer
    ... > I am trying to clean up and fix my cousin's girlfriend's computer. ... > This machine is a Dell Dimension with an OEM install of XP Home. ... Post-SP2 Windows Firewall Information/guidance: ... How to Manually Uninstall Norton: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: IE will not access HTTPS sites Suddenly
    ... Ok...you installed a trial of Acrobat 7, and still had an earlier version of ... As for the problem accessing secure sites, see if anything here will help ... Uninstall MSN Messenger from the Add/Remove Programs in Control Panel ... install Reader just to access .pdf files. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: ?for an MVP regarding dot Net updates recieved today repeating the
    ... I could not uninstall any .NET installation (missing ... Also you need to keep the 3 versions of .net framework on your computer ... The steps from Microsoft Security Tech Support and from Aaron Stebner's ... NOT try to install that update. ...
    (microsoft.public.windowsxp.perform_maintain)
  • RE: Cannot Install Windows Media Player 11 beta
    ... Reg Parser: Obtained value 'setup' for attribute 'TYPE'. ... Obtained value 'Windows Media Format Runtime provides efficient ... install, and uninstall capabilities for Windows Media Player. ...
    (microsoft.public.windowsmedia.player)