G
Guest
Hi
I need to write a windows service that should call a stored procedure in my SQL database every few seconds. In the onstart event I start a new thread to call a method in my app project. This method calls the stored procedure in an infinite loop. But when I install my service and start, my SP is not getting called at all, could someone tell me where I'm doing wrong? Thanks.
I need to write a windows service that should call a stored procedure in my SQL database every few seconds. In the onstart event I start a new thread to call a method in my app project. This method calls the stored procedure in an infinite loop. But when I install my service and start, my SP is not getting called at all, could someone tell me where I'm doing wrong? Thanks.