Why doesn’t my Windows .Net service start automatically after rebooting?

I get the error below in the event log when the computer boots up, the service starts automatically when I start the service manually, no problem.

Any ideas?

The service cannot be started. System.Reflection.TargetInvocationException: An exception was thrown by the target of the call. ---> System.Runtime.InteropServices.COMException (0x80010002): the call was canceled by the message filter. (Exception from HRESULT: 0x80010002 (RPC_E_CALL_CANCELED)) in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal (Int32 errorCode, IntPtr errorInfo)

thank

+1
source share
2 answers

- /, ?

+2

, Windows (winmgmt.exe).

, . : fooobar.com/questions/1736002/...

+1

Source: https://habr.com/ru/post/1736005/


All Articles