Hi,
I have created a windows service and i have written code in OnStart and OnStop event. when i manually start and stop the service it works fine. But when i restart the machine the OnStop event is not working but the OnStart event is working fine. This service depends on network connection for storing data to a remote DB. I have attached the 'netman(network connection)' in the service dependency. There is no error message in the event viewer also.
If this is not the correct location to post this question please re-direct this question to the corresponding section.
Thanks & Regards
karthi