canton7 / SyncTrayzor

Windows tray utility / filesystem watcher / launcher for Syncthing
MIT License
5.95k stars 411 forks source link

Windows 2012 fresh setup #344

Closed klockd closed 7 years ago

klockd commented 7 years ago
Version: 1.1.13.0; Variant: Installed; Arch: Amd64
Path: C:\Program Files\SyncTrayzor\SyncTrayzor.exe
System.NullReferenceException: Object reference not set to an instance of an object.
   at SyncTrayzor.Services.AutostartProvider.CheckAccess() in C:\projects\synctrayzor\src\SyncTrayzor\Services\AutostartProvider.cs:line 69
   at SyncTrayzor.Services.AutostartProvider..ctor(IAssemblyProvider assemblyProvider) in C:\projects\synctrayzor\src\SyncTrayzor\Services\AutostartProvider.cs:line 57
   at lambda_method(Closure , IRegistrationContext )
   at StyletIoC.Internal.Registrations.SingletonRegistration.GetInstanceExpression(ParameterExpression registrationContext) in c:\projects\stylet\Stylet\StyletIoC\Internal\Registrations\SingletonRegistration.cs:line 37
   at StyletIoC.Internal.Registrations.RegistrationBase.GetGeneratorInternal() in c:\projects\stylet\Stylet\StyletIoC\Internal\Registrations\RegistrationBase.cs:line 38
   at StyletIoC.Internal.Registrations.RegistrationBase.GetGenerator() in c:\projects\stylet\Stylet\StyletIoC\Internal\Registrations\RegistrationBase.cs:line 30
   at StyletIoC.Internal.Container.Get[T](String key) in c:\projects\stylet\Stylet\StyletIoC\Internal\Container.cs:line 102
   at SyncTrayzor.Bootstrapper.Configure() in C:\projects\synctrayzor\src\SyncTrayzor\Bootstrapper.cs:line 129
   at Stylet.BootstrapperBase.Start(String[] args) in c:\projects\stylet\Stylet\BootstrapperBase.cs:line 80
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
klockd commented 7 years ago

same thing with version 1.1.14.0

canton7 commented 7 years ago

Interesting, does that machine not have the registry key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run?

klockd commented 7 years ago

Believe it or not that was it. Apparently it didn’t

This a new server out of the box from Dell, system came pre installed.

On Mar 4, 2017, at 4:43 PM, Antony Male notifications@github.com wrote:

Interesting, does that machine not have the registry key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/canton7/SyncTrayzor/issues/344#issuecomment-284184908, or mute the thread https://github.com/notifications/unsubscribe-auth/AYT4b_zcarKLmeGb0l074PLYxpDnwNLlks5ridr7gaJpZM4MS7Xz.

----------------------------------------------------------------------------------ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the Aries Imaging mail domain. Always scan attachments before opening them. ----------------------------------------------------------------------------------AVIS IMPORTANT: Les renseignements contenus dans ce courriel sont strictement confidentiels et à l'usage exclusif du destinataire à qui s'adresse le courriel. Si vous recevez ce message par erreur, vous êtes par la présente avisé(e) que toute divulgation, diffusion, distribution ou reproduction de la présente communication est strictement interdite. Veuillez immédiatement informer l'expéditeur par retour de courriel et détruire le message, ainsi que tous les fichiers joints qu'il comporte, sans le copier ou l'ouvrir. Tous les messages électroniques et fichiers joints sont analysés pour détecter les virus électroniques connus. Si ce message contient des fichiers joints protégés par des mots de passe, ces fichiers n'ont PAS été analysés pour détecter la présence de virus par le domaine de courrier de Aries Imaging. Analysez toujours un fichier joint avant de l'ouvrir.----------------------------------------------------------------------------------

canton7 commented 7 years ago

Right. I'm not sure what to do in that case: creating it seems wrong, but I can't set up the autostart stuff if it doesn't exist.

I'll probably put a check to see whether it exists, and show a message on the settings screen (where autostart is configured) if it doesn't...