Y
Yasir Zaheer
I have made a windows service which is configured to start
automatically at the system startup under the USER account type. The
service is working perfectly fine when I try to start it manually, but
it is unable to start automatically at system restart and following
errors are displayed in the Event Logs.
1 - Timeout (30000 milliseconds) waiting for the (Service Name)
service to connect.
2 - The (Service Name) service failed to start due to the following
error: The service did not respond to the start or control request in
a timely fashion.
I also have also tried to write log entries in 'OnStart()' and Main
methods but the logs are also not displayed.
Does it indicate that it requires user credentials within 30 seconds?
I am using C# with .NET framework 2.0. I have tried to run the service
on Windows XP Pro and Windows Server 2003.
Regards,
automatically at the system startup under the USER account type. The
service is working perfectly fine when I try to start it manually, but
it is unable to start automatically at system restart and following
errors are displayed in the Event Logs.
1 - Timeout (30000 milliseconds) waiting for the (Service Name)
service to connect.
2 - The (Service Name) service failed to start due to the following
error: The service did not respond to the start or control request in
a timely fashion.
I also have also tried to write log entries in 'OnStart()' and Main
methods but the logs are also not displayed.
Does it indicate that it requires user credentials within 30 seconds?
I am using C# with .NET framework 2.0. I have tried to run the service
on Windows XP Pro and Windows Server 2003.
Regards,