Thursday, November 17, 2011

Error 1001. The specified service has been marked for deletion

Currently I am developing a windows service and after a few Install/UnInstalls from Visual Studio - I got this error:

Error 1001. The specified service has been marked for deletion

Looking at google, I found the most simplest answer to it although MSDN asks you to reboot you workstation:
Just close your Services console (services.msc). It creates a lock on the service hence prevents its complete removal. Just close down your Services console and wow its gone.

No comments: