I forgot to mention....
the service does run but this error stops the debugger so i am not able to
debug the service..
Did you start the debugger using F5 (Debug) ? Instead, try starting the
service through Control Panel->Services and then attach the debugger to the
process.
Good luck.
Paul Wardle
>I forgot to mention....
> the service does run but this error stops the debugger so i am not able to
[quoted text clipped - 19 lines]
>> OK
>> ---------------------------
Rick Mavrovik - 20 Jun 2007 10:06 GMT
I installed the service using InstallUtil
then started the service using the Control Panel>Services
and then after setting the breakpoint and attaching the process, pressed
F5... the strange thing is that it does not give the error immidiately
rather after the Timer1_Elapsed has fired, it prompts that 'Cannot start
service from the command line or a debugger.........'
> Did you start the debugger using F5 (Debug) ? Instead, try starting the
> service through Control Panel->Services and then attach the debugger to
[quoted text clipped - 27 lines]
>>> OK
>>> ---------------------------