Since updating to Samsung AllShare v2.1.0.12031_10 from 2012-04-02 (which solved some other bugs, e.g. now finally very large folders are viewable), I experienced this "Warning Stop Allshare Service", too. After booting into Windows XP (SP3), sometimes AllShared worked, but most of the time the AllShare symbol in info tray turned pale with red X.
Control Panel -> Management -> Event Viewer -> Application then always shows:
----- start of error message -----
[q][quote]Service cannot be started. System.Runtime.InteropServices.COMException (0x80010002): Call was canceled by the message filter. (Exception from HRESULT: 0x80010002 RPC_E_CALL_CANCELED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementEventWatcher.Initialize()
at System.Management.ManagementEventWatcher.Start()
at AllShareDmsUtil.Manager.AllShareDmsManager.InitEventWatcher()
at AllShareDmsUtil.Manager.AllShareDmsManager.Initialize()
at AllShareDmsUtil.Manager.AllShareDmsManager..ctor()
at AllShareDmsUtil.Manager.AllShareDmsManager.get_Instance()
at AllShareDMS.AllShareDMS.DoStart()
at AllShareDMS.AllShareDMS.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)[/quote][/q]
----- end of error message -----
After months of repeated investigation--without any helpful answers by Smasung--, I seem to have found the deeper cause and a solution at last:
The "SamsungAllshareV2.0" service seems to need "Windows Management Instrumentation" (winmgmt) service up and running!
On older/slower systems Allshare happens to start up before winmgmt is ready, and fails. And whey you (the user) eventually restart Allshare manually, surprisingly everything works fine, because util then winmgmt already is fully functional.
The solution is to make the Allshare service depend on winmgmt service! Then Windows itself safeguards the proper startup sequence ...
Making SamsungAllshareV2.0 service depend on winmgmt service needs this tiny registry modification:
----- start of SamsungAllshareFix.reg -----
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SamsungAllShareV2.0]
"DependOnService"=hex(7):77,00,69,00,6e,00,6d,00,67,00,6d,00,74,00,00,00,00,00
----- end of SamsungAllshareFix.reg -----
Or manually in Registry Editor, this simply means setting value "winmgmt" (without the quotes).
This fix works perfectly for me, and the Samsung Allshare service now starts up fine every time!
Ciao,
Martin