C#应用程序中的窗口服务 [英] window service in C# application

查看:61
本文介绍了C#应用程序中的窗口服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误消息:-窗口服务启动失败


无法从命令行或垃圾邮件启动服务.窗户
服务必须首先是install(installutil.exe),然后用
声明 服务器资源管理器,窗口服务管理员工具或NET START
commnd ......

Error message :- window services start failure


cannot start service from the command line or debbuge. a windows
service must first be install(installutil.exe) and then stated with the
server explorer, window service administrator tool,or the NET START
commnd......

推荐答案

请参阅以下链接:

http://stackoverflow.com/questions/5157176/windows-service-start-failure [ ^ ]

http://forums.asp.net/t/1697370.aspx/1 [ ^ ]
Refer these links:

http://stackoverflow.com/questions/5157176/windows-service-start-failure[^]

http://forums.asp.net/t/1697370.aspx/1[^]


有一个看看下面类似的问答"讨论.

http://forums.asp.net/t/1417017.aspx/1
Have a look at similar Question-Answer discussion below.

http://forums.asp.net/t/1417017.aspx/1


对,所以

1)您是否使用installtil安装了它?

http://msdn.microsoft.com/en-us/library/sd8zc8ha%28v = vs.80%29.aspx [ ^ ]

2)如果您已经安装了它,并且它根本不会从services.msc开始,那么请看一下eventvwr-应该有关于该错误的一些信息.

将错误详细信息发回此处
Right, so

1) have you installed it using installtil?

http://msdn.microsoft.com/en-us/library/sd8zc8ha%28v=vs.80%29.aspx[^]

2) If you''ve installed it and it simply won''t start from services.msc, then have a look in eventvwr - there should be some information about the error.

Post the error detail back here


这篇关于C#应用程序中的窗口服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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