Debugging a windows service

Closed
cyril8727 Posts 24 Registration date Monday July 21, 2008 Status Member Last seen July 20, 2009 - Jul 20, 2009 at 12:28 PM
cyril8727 Posts 24 Registration date Monday July 21, 2008 Status Member Last seen July 20, 2009 - Jul 20, 2009 at 02:10 PM
Hello,

HELP ! I am trying to program a windows service on visual studio 2008, under the .net framework.
Whenever I start my service, I get an exception (like "the service did not respond in a timely fashion").
However, if I copy/paste my code into a Windows Form application, everything works fine.

HENCE, I need to debug this windows service. I read about "attaching it to a process" but how can I do that and especially to what process am I suppose to attach it.

Thank you very much for your help,
Related:

1 response

cyril8727 Posts 24 Registration date Monday July 21, 2008 Status Member Last seen July 20, 2009 1
Jul 20, 2009 at 02:10 PM
-
0