开发者

Windows service installed successfully but not responding after started

I have a windows service written in C#, .Net framework 2.0. I installed it on three machines and it worked fine but on one machine (with .Net f开发者_运维知识库ramework 2.0) the setup has installed the service successfully but the service is not responding after I start it. I check for this by checking whether a log file is created at a specific path insribed in the config file or not. This log file is created everytime the timer elapses the interval time. I'm unable to figure out the reason. Have checked all the parameters but unable to get any solution to this.

The funny thing is that the same setup is running well on other machines.

P.S.: I have admin access on all the servers I'm installing this service on.


Can you get VS on the machine? Even the express edition would probably be fine. In the service's Initialization function you can call debugger.launch. This should get you in.


This kind of thing is almost always a permissions issue with the user account the service is running under. Quick way to check this is to make the service account a local machine admin and see if it works. If it does, you need to figure out what permissions the service account you are supposed to use is missing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜