I have a Windows Service which is set in Automatic. So, once the PC reboots, it should start automatically. However, once it rebooted, the Windows Service did not start. I have this message in the Event Viewer:
Service cannot be started. System.Runtime.InteropServices.COMException (0x80010002): L'appel a été annulé par le filtre de messages. (Exception from HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Framework.Framework.DriveInformation.GetDriveInformation()
at DMIB.Main.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
Anyone knows what that means?
It seems it tried to go in the service but failed in the Startup commands. But, when I start that service manually, it works.