C
C#User
i wrote a Windows Service program (myService) for testing. OnStart: just
create a new file in my directory.
Everything seems fine. But when i open the Services Panel, try to start the
myService, it pops up the following message:
"The myService service on Local Computer started and then stopped. Some
services stop automatically if they have no work to do, for example, the
Performance Logs and Alerts service."
And the file failed to create.
Any idea?
Thanks.
create a new file in my directory.
Everything seems fine. But when i open the Services Panel, try to start the
myService, it pops up the following message:
"The myService service on Local Computer started and then stopped. Some
services stop automatically if they have no work to do, for example, the
Performance Logs and Alerts service."
And the file failed to create.
Any idea?
Thanks.