错误1053,服务未及时响应启动或控制请求 [英] error 1053 the service did not respond to the start or control request in a timely fashion

查看:375
本文介绍了错误1053,服务未及时响应启动或控制请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用控制台应用程序创建新服务.服务在services.msc中创建.如果我启动该服务,则会出现以下错误.

错误1053,服务未及时响应启动或控制请求

如果有人知道我的回信.

问候
Nanda Kishore.CH

Hi,
i creat new service using console application. services is created in services.msc. if i start that service following error is coming.

error 1053 the service did not respond to the start or control request in a timely fashion

if any one know about that reply me.

Regards
Nanda Kishore.CH

推荐答案

您的服务exe快要死了或挂了.实际上,服务必须在特定的时间间隔内响应服务控制器.如果它没有更新其状态,则服务控制器会认为它尚未启动,并将其状态重新设置为已停止".

作为参考,您可以看一下以下文章.

简单Windows服务示例 [ Windows服务应用程序 [
Either your service exe is dying or it got hung. Actually service has to respond to Service Controller in specific interval of time. If it doesn''t update it''s status, the Service Controller considers that it''s not started and sets it''s status back to ''Stopped''.

For reference, you can have a look at following articles.

Simple Windows Service Sample[^]

A Windows Service Application[^]

If you still not able to find out the problem, better to post the code snippet.


这篇关于错误1053,服务未及时响应启动或控制请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆