Page 3 of 3

Re: Cobian Reflector Service Stopped

Posted: 03 Dec 2021, 01:46
by cobian
I have changed nothing on the service side. :|

Re: Cobian Reflector Service Stopped

Posted: 11 Dec 2021, 23:30
by bilvihur
I did a clean boot this morning, but didn't look for Reflector. Then I put the system to sleep. This evening a woke it up and got the "Engine not found" message. The timestamp would indicate the error occurred during the boot.

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="CobianReflectorService" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-12-11T11:28:33.000000000Z" />
<EventRecordID>87296</EventRecordID>
<Channel>Application</Channel>
<Computer>Bill-PC</Computer>
<Security />
</System>
- <EventData>
<Data>Service cannot be started. System.TypeInitializationException: The type initializer for 'Cobian.Reflector.FSTools' threw an exception. ---> System.Runtime.InteropServices.COMException: 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.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at Cobian.Reflector.FSTools..cctor() --- End of inner exception stack trace --- at Cobian.Reflector.FSTools.GetDefaultSafeMirrorDir() at Cobian.Reflector.SettingsFacade.get_SafeMirrorDirectory() at Cobian.Reflector.Engine.CobEngine.checkMirrorFolder() at Cobian.Reflector.Engine.CobEngine.start() at Cobian.Reflector.Service.CobianReflectorService.OnStart(String[] args) at System.Se...</Data>
</EventData>
</Event>

Re: Cobian Reflector Service Stopped

Posted: 12 Dec 2021, 00:36
by cobian
OK... Does the service has permissions to write to the Safe mirror folder?

Re: Cobian Reflector Service Stopped

Posted: 12 Dec 2021, 01:21
by bilvihur
I don't know. How can I find that information? I don't see a Safe Mirror folder. I was able to start the engine using Services.

Re: Cobian Reflector Service Stopped

Posted: 12 Dec 2021, 01:46
by cobian
Options-Advanced

Re: Cobian Reflector Service Stopped

Posted: 12 Dec 2021, 02:34
by bilvihur
It looks like System has Full Permission Control of C:\Windows\System32\config\systemprofile\AppData\Local\Safe Mirror

Re: Cobian Reflector Service Stopped

Posted: 12 Dec 2021, 11:55
by cobian
Hmm.. :| I'm lost then.

Re: Cobian Reflector Service Stopped

Posted: 12 Dec 2021, 12:46
by bilvihur
The engine started from a boot this morning. I happened to look at the Tools -> Service Control panel and it says "Application Auto-Starting - No Autostart" I don't know if that's pertinent to the problem.

PS I STILL have to login EVERY TIME I reply. The message reads "You need to login in order to reply to topics within this forum."
Are you sure that's the way it should work?

Re: Cobian Reflector Service Stopped

Posted: 12 Dec 2021, 20:03
by cobian
If the program is running as a service then the application shouldn't be started, so this is correct.