Screwed up a service.
-
I accidently screwed up in my OnStart for my service by initializing my main thread before my argument checks and now after uninstalling the service, it is in the state of "Disabling." I've tried rebooting but it won't uninstall fully. I can't reinstall and I can't recompile, so does anyone know what I should do? Thanks. ---- Xian
-
I accidently screwed up in my OnStart for my service by initializing my main thread before my argument checks and now after uninstalling the service, it is in the state of "Disabling." I've tried rebooting but it won't uninstall fully. I can't reinstall and I can't recompile, so does anyone know what I should do? Thanks. ---- Xian
If you can't recompile, that's entirely a different problem, something you need to check, fix, and then recompile. To get rid of the registry entry for the service, open regedit.exe and drill-down to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Find the key with the name (not the display name) of your service and delete it and reboot.
Microsoft MVP, Visual C# My Articles
-
If you can't recompile, that's entirely a different problem, something you need to check, fix, and then recompile. To get rid of the registry entry for the service, open regedit.exe and drill-down to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Find the key with the name (not the display name) of your service and delete it and reboot.
Microsoft MVP, Visual C# My Articles