Windows service error [modified]
-
Hi, There is a windows service created and I am trying to start the service from service manager. I am getting an error stating that the service stopped unexpectedly after start. This is happening in Win Server 2008.Prior to that service worked fine in Server 2003. Any ideas? Please help. Thanks in advance.
modified on Thursday, December 2, 2010 7:35 AM
-
Hi, There is a windows service created and I am trying to start the service from service manager. I am getting an error stating that the service stopped unexpectedly after start. This is happening in Win Server 2008.Prior to that service worked fine in Server 2003. Any ideas? Please help. Thanks in advance.
modified on Thursday, December 2, 2010 7:35 AM
Hi, which version of .Net did you develop the Windows Service ? is the same version is installed on Win Server 2008 ?
-
Hi, There is a windows service created and I am trying to start the service from service manager. I am getting an error stating that the service stopped unexpectedly after start. This is happening in Win Server 2008.Prior to that service worked fine in Server 2003. Any ideas? Please help. Thanks in advance.
modified on Thursday, December 2, 2010 7:35 AM
Do you have error/exception logging implemented in your service? If yes check the logs. I would also suggest you to check the event log for related entry. In most cases, the error will be logged here. You can navigate to event log in Win 2008 Server by clicking Start->Programs->Administrative Tools->Event Viewer. Check entries in Windows Application Log. If you still don't find the problem, the last option will be debugging the service which won't be required if you have proper exception/error logging in your service. Let me know if that helps.
..Go Green..
-
Do you have error/exception logging implemented in your service? If yes check the logs. I would also suggest you to check the event log for related entry. In most cases, the error will be logged here. You can navigate to event log in Win 2008 Server by clicking Start->Programs->Administrative Tools->Event Viewer. Check entries in Windows Application Log. If you still don't find the problem, the last option will be debugging the service which won't be required if you have proper exception/error logging in your service. Let me know if that helps.
..Go Green..
It was developed in .Net 3.5. I did check the log entries in event viewer and resolved the issue. Thanks. :)
-
It was developed in .Net 3.5. I did check the log entries in event viewer and resolved the issue. Thanks. :)