It stoped working! I get an error every time!

Hi… what happened? it should be in the Administraor folder for obvious reasons! So I install it in a folder that I have full permissions and I still get an error!!!

First I re-insalled and in the logs I get this!

2023-07-31 13:43:47.947 [1][Info] [Listary.Core.Settings.] Failed to read setting file System.IO.FileNotFoundException: Could not find file ‘D:\listery\UserProfile\Settings\Preferences.json’.
File name: ‘D:\listery\UserProfile\Settings\Preferences.json’
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader…ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at Listary.Core.Settings..() in <6obXaEfspcFFeiz6TldrXfdIggtopu4QDwTQfX9WvYHg/GBV3yryoHgYvHbUh7w6IXGkFeVPmcwxyD5wcpB2rw==>:line 26
2023-07-31 13:44:03.467 [1][Fatal] [Listary.Main.App] 64bit OS: True 64bit App: True
2023-07-31 13:44:03.467 [1][Fatal] [Listary.Main.App] System.UnauthorizedAccessException: Access to the path is denied.

On Event Viewer logs
Faulting application name: Listary.exe, version: 6.2.0.42, time stamp: 0x64a15db5
Faulting module name: KERNELBASE.dll, version: 10.0.19041.3155, time stamp: 0xbf300201
Exception code: 0xe0434352
Fault offset: 0x000000000002cf19
Faulting process id: 0x3b60
Faulting application start time: 0x01d9c3d3db0d4e04
Faulting application path: C:\Program Files\Listary\Listary.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 63c9f431-0f26-4937-918d-91187716f55b
Faulting package full name:
Faulting package-relative application ID:

and another even log error - the one that appears when opening Listery

Application: Listary.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.Pipes.NamedPipeServerStream.Create(System.String, System.IO.Pipes.PipeDirection, Int32, System.IO.Pipes.PipeTransmissionMode, System.IO.Pipes.PipeOptions, Int32, Int32, System.IO.Pipes.PipeAccessRights, SECURITY_ATTRIBUTES)
at System.IO.Pipes.NamedPipeServerStream…ctor(System.String, System.IO.Pipes.PipeDirection, Int32, System.IO.Pipes.PipeTransmissionMode, System.IO.Pipes.PipeOptions, Int32, Int32, System.IO.Pipes.PipeSecurity, System.IO.HandleInheritability, System.IO.Pipes.PipeAccessRights)
at System.IO.Pipes.NamedPipeServerStream…ctor(System.String, System.IO.Pipes.PipeDirection, Int32, System.IO.Pipes.PipeTransmissionMode, System.IO.Pipes.PipeOptions)
at Listary.Core.Services.InternalNamedPipeService.StartServer()
at Listary.Core.ListaryApp.Start(System.String ByRef)
at Listary.Main.App.OnStartup(System.Windows.StartupEventArgs)
at System.Windows.Application.<.ctor>b__1_0(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at Listary.Main.App.Main()

Alberto

There is no reason to be in any Administrator folder to install Listary.
The normal way is to work without enhanced privileges,
start the setup and acknowledge the UAC prompt.
Listary will be installed under c:\Program files
and your data is for example under C:\Users\username\AppData\Roaming\Listary\


Windows 11 Home x64 Version 22H2 (OS Build 22621.2070)
Listary Pro 6.2.0.42