I have a windows service which OnStart calls a Webservice and this webservice in turn updates the database.
I know that the webservice is works properly.
Problem is that windows service starts properly but 开发者_运维技巧after some time it shows errors as shown below:

and

What could be wrong?
Where exactly the problem could be?
I would try to debug. I do not know, if this gives you a clue, but I think this is not a bad starting point. To learn how to debug, refer to
How to: Debug Windows Service Applications
加载中,请稍侯......
精彩评论