Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.2.10 UnauthorizedAccessException when closing the app #568

Closed
vocko opened this issue Oct 19, 2020 · 1 comment
Closed

4.2.10 UnauthorizedAccessException when closing the app #568

vocko opened this issue Oct 19, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@vocko
Copy link

vocko commented Oct 19, 2020

Describe the bug

I can't close the app due to an exception (see attached screenshot). It seems it tries to write to a settings file that lives in the install folder (withing Program Files in my case). If I start the app as an admin, there is no issue. I recommend to move the settings files into c:\Users\Username\AppData\Local\AnalogyLogViewer. In this case you can save settings per user rather than same for all and you will avoid permissions issues.

ℹ Computer information

  • OS: Windows 10 Version 2004 64 bit
  • Analogy Version 4.2.10 .NET Core 3.1

📝 Detailed reproduction steps

  1. Install app to a folder with a restricted access (ie. Program Files)
  2. Start App
  3. Try to close the app

✔️ Expected result

App will close with no issues even if run under standard permissions.

❌ Actual result

App fails to close on UnauthorizedAccessException .

📷 Screenshots

Capture

@LiorBanai
Copy link
Member

Good suggestion. Thanks for reporting this.
I normally run as admin so I did not experience this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants