I have a windows service that executes a console app every hour and it's running with no problems. I didn't set this up though, and I'm not familiar with windows services at all.
Today I had to update the console app, so I presumed that if I just copied the exe file back into the folder were it was called from the windows service after I modified it it would be fine. But it looks like it stopped working.
I ran the console app mannually from the command prompt and it works fine though.
Any ideas on why this could have stopped working?
Thanks
first try to stop/start your service, then try to uninstall and install your service again
you can do the first thing in administrative tools/services install/uninstall with installUtil
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.