Service "MyServiceAppDisplay" con't be installed; Error: 'Win32-Error.
Code: 1057. The Account name is illegally or doesn't exist.
Generally I have the right to Install a Service (I have try it bevor)
Any Idea what else is wrong?
Thanks
HTH
Bernd
--
Bernd Ua - Software-Haus Brumund GmbH
u...@nospambrumund.de
// to reply, remove nospam from email adress :-)
// obviously this needs to be stated, too : please no
unsolicited private email unless explicitly invited
Also, it says in the help (D4.03 Pro) I should use the INSTALL cmd param
to install the service. Is that "myservice install" or
"myservice /install"? And do I have to reboot before it appears in the
service control pannel applet?
Furthermore, how do I debug services? I've resorted to putting all
functionality in a separate unit and writing a normal app to debug, and
then intend to make a small service wrapper around it. Are there any
better ways to do it?
Many thanks in advance!
Kjell
If you leave the properties blank you can install , too.
Your service uses ( default ) system account then.
>Also, it says in the help (D4.03 Pro) I should use the
INSTALL cmd param
>to install the service. Is that "myservice install" or
>"myservice /install"?
You have never tried , haven't you ?. It can't be so hard,
to find out, that you can use either "-install" or
"/install" and "-uninstall" or "/uninstall".
You won't believe it , but your computer does not explode if
you accidently type in myservice install without a slash
<g>.
>And do I have to reboot before it appears in the service
control pannel applet?
No, it appears immidiatly. Again that info is just a few
clicks away.
>Furthermore, how do I debug services? I've resorted to
putting all
>functionality in a separate unit and writing a normal app
to debug, and
>then intend to make a small service wrapper around it. Are
there any
>better ways to do it?
Have you tried to enable process attach with Delphi Debugger
?
Under
HKEY_CURRENT_USER\Software\Borland\Delphi\4.0\Debugging
change the
value of "Enable Attach Menu" to 1, then re-start Delphi.
You should be able to attach to the service. A search in
dejanews might help ( keywords: delphi debug attach ) -
there are several threads about this topic.
Got it.
[-install, /install or simply install?]
> You have never tried , haven't you ?.
Yes I have. Nothing seemed to happen whatever I tried. Thus my
questions.
> >And do I have to reboot before it appears in the service
> >control pannel applet?
>
> No, it appears immidiatly. Again that info is just a few
> clicks away.
Yes. Again - I tried, and nothing seemed to happen. No new entry in the
server manager applet - nothing. Thus my questions.
[How to debug services]
> Have you tried to enable process attach with Delphi Debugger?
> Under
> HKEY_CURRENT_USER\Software\Borland\Delphi\4.0\Debugging
> change the
> value of "Enable Attach Menu" to 1, then re-start Delphi.
> You should be able to attach to the service. A search in
> dejanews might help ( keywords: delphi debug attach ) -
> there are several threads about this topic.
Thanks Bernd! I'll give it another try soon, with this new info!
Kjell