开发者

service installation on server 2003

I'm trying to install service which I created in visual studio 2008 on windows se开发者_StackOverflowrver 2003

the problem is that I'm keep getting the following error:

Error 1053: The service did not respond to the start or control request in a timely fashion

all the documentation I read about the issue suggested to install .NET Framework 1.1 Service Pack 1

my currently frame work is 3.5 so I guess it won't solve anything ,is there any solution to the issue ? if there is additional information I need to supply please guide me since I'm new to the server,services world.


If your service has any ongoing work to do, you should spawn a thread in OnStart and then return. If the service doesn't have ongoing work but may take a while to run, then you need to call RequestAdditionalTime.

The MSDN docs for managed Windows services are a bit lacking; this blog post fills in the details nicely.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜