470,831 Members | 2,504 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,831 developers. It's quick & easy.

Service stops automatically

Shashi Sadasivan
1,435 Expert 1GB
I have been trying to play with windows services.
Finally got a little tutoriakl on how to do it. Got it working ..except for the service.
The service is installed, and apperas as required in the services section of the administrative tools.

However when i start the service (Even though i have kept its property to automatic rather, it appears as stopped) it starts the process of starting the service,but then nstops abruptly and gives me the following message

The Thats_my_service service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
I have the services in the Run method in program and have also set the start of the solution to Program.cs which contains the Run method for the service

In betweeen ive made my little project in .Net 2.0, C#, and trying to run it on Vista Business....

Oct 18 '07 #1
0 1069

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Mike | last post: by
1 post views Thread by V.Balaji | last post: by
2 posts views Thread by Trevor | last post: by
3 posts views Thread by dmjpro | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.