Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

Here i have Developed one windows Service and After that i have give Setup for that Service.And i installed the Service..It Sucessfully installed.Now iam Start the Service its Showing the Error.
Error is:Windows Service Couldnot Start the SmsService_Anil on Local Computer

         Error:1067 The process Terminated Unexpectedly.



Regards,

AnilKumar.
Posted
Updated 1-Jun-12 20:13pm
v2

1 solution

Check the windows event logs to see what the problem is.

Alternatively, try adding logging information to your service to track the progress and exceptions. Mini Drop-in Replacement for log4net[^]
 
Share this answer
 
Comments
Anil Honey 206 2-Jun-12 2:30am    
I have Checked in Server Explorer Evetlogs i have not find my SmsService_Anil So whats the Problem where should i find the logs
Mehdi Gholam 2-Jun-12 2:36am    
Look for the ERROR messages (your service name might not be logged) one by one from the top.
Oleksandr Kulchytskyi 2-Jun-12 3:30am    
This NT service was written by you? If yes , a you injected any logging capabilities?
If not, move in such way which was described by Mehdi Gholam.

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