Reputation: 5179
I've installed my windows service which worked fine in the local environment in a windows 2003 server. After installation when i tried to start the windows service it fails by giving a pop up as follows:
"Could not start windows service on local computer Error 1053:Service could not respond to the start or control request in a timely fashion"
When i checked the event log it shows another error which says:
"EventType clr20r3, P1 MyWindowsservice.exe, P2 1.0.0.0, P3 4cefad85, P4 mscorlib, P5 2.0.0.0, P6 471ebc5b, P7 e4, P8 10, P9 system.security.security, P10 NIL."
Any one please tell what is the problem and how to solve it...
Upvotes: 1
Views: 2791
Reputation: 5179
It was the permission issue for creating custom event log. At first i created the windows service setup to run as local service. I think the local service has limited permissions and when i changed the log on account to local system account it got started.
Upvotes: 1