Click here to Skip to main content
15,911,891 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
I have created windows service and i have created setup file to it when i try to install windows service using that setup file in different machine it is installing but when i start service it stops and showing popup as your service started and then stopped ,in local machine its working fine i have checked log file in local machine
plz help...

thanks in advance
Posted
Updated 13-Feb-15 19:57pm
v2
Comments
Richard MacCutchan 14-Feb-15 4:13am    
Help with what? We have no idea what your service does or why it may be failing. You need to do some diagnostic investigation for yourself to find out exactly what is happeining inside your code.
G3Coder 14-Feb-15 15:02pm    
Have you tried checking the Event Viewer (would expect Windows Logs -> Application) for details of why it won't run? Normally there is a clue there.
Herman<T>.Instance 16-Feb-15 7:31am    
Under which user you run the service? Does it have enough rights to function properly?
Mohammad Reza Valadkhani 18-Feb-15 4:24am    
please provide more information about your problem. generally if it`s work on your local machine properly, these things might be problem in other machine :
1. Dependencies on your project not fulfill on machine so check dependencies like framework version and other things.
2. check that under which user service install and run.
i hope these step will help you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900