Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 30, 2011 10:23 AM by abiruban
Member
2 Points
10 Posts
Sep 30, 2011 09:53 AM|LINK
Hello,
I am facing proble while starting my windows service,following is error code,
error: The service on local computer started and than stoped some services stop automatically if they are
not in use by other services or programs.
if anyone have any solution regarding to this please reply.
thank you.
All-Star
31382 Points
5424 Posts
Sep 30, 2011 10:16 AM|LINK
hi,
you are getting some exception while starting your service. so debug check the servcie contructor and start method
Refer : http://msdn.microsoft.com/en-us/library/7a50syb3(v=vs.80).aspx
http://webcache.googleusercontent.com/search?q=cache:b72VpM7zCfAJ:stackoverflow.com/questions/125964/easier-way-to-start-debugging-a-windows-service-in-c+debugging+windows+service&cd=2&hl=en&ct=clnk
http://support.microsoft.com/kb/824344
http://blogs.msdn.com/b/yaleeyangmsblog/archive/2007/05/02/three-ways-debugging-net-windows-service.aspx
16048 Points
2734 Posts
Sep 30, 2011 10:23 AM|LINK
Hi
check bellow urls
http://stackoverflow.com/questions/538925/windows-service-stops-automatically
http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/3e510609-e687-4e42-ae34-2a1015824e7b/
kalpesh123
Member
2 Points
10 Posts
error generated while starting my windows service developed in c#
Sep 30, 2011 09:53 AM|LINK
Hello,
I am facing proble while starting my windows service,following is error code,
error: The service on local computer started and than stoped some services stop automatically if they are
not in use by other services or programs.
if anyone have any solution regarding to this please reply.
thank you.
karthicks
All-Star
31382 Points
5424 Posts
Re: error generated while starting my windows service developed in c#
Sep 30, 2011 10:16 AM|LINK
hi,
you are getting some exception while starting your service. so debug check the servcie contructor and start method
Refer : http://msdn.microsoft.com/en-us/library/7a50syb3(v=vs.80).aspx
http://webcache.googleusercontent.com/search?q=cache:b72VpM7zCfAJ:stackoverflow.com/questions/125964/easier-way-to-start-debugging-a-windows-service-in-c+debugging+windows+service&cd=2&hl=en&ct=clnk
http://support.microsoft.com/kb/824344
http://blogs.msdn.com/b/yaleeyangmsblog/archive/2007/05/02/three-ways-debugging-net-windows-service.aspx
Karthick S
abiruban
All-Star
16048 Points
2734 Posts
Re: error generated while starting my windows service developed in c#
Sep 30, 2011 10:23 AM|LINK
Hi
check bellow urls
http://stackoverflow.com/questions/538925/windows-service-stops-automatically
http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/3e510609-e687-4e42-ae34-2a1015824e7b/
***DON'T FORGET TO CLICK “MARK AS ANSWER” ON THE POST IF HELPED YOU.