简体   繁体   中英

Windows service fails to start in windows 2003 server

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...

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM