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

[BUG] System.UnauthorizedAccessException: Access to the path 'C:\Users\User\AppData\Local\Temp\Bloxstrap\Logs' is denied. #4229

Open
4 tasks done
funeralized opened this issue Jan 4, 2025 · 1 comment

Comments

@funeralized
Copy link

Acknowledgement of preliminary instructions

  • I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
  • I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
  • I am using the latest version of Bloxstrap.
  • I did not answer truthfully to all the above checkboxes.

Bloxstrap Version

2.8.5

What problem did you encounter?

When ever i run the installer it gives me this, yes I have ran as admin

Bloxstrap Log

2025-01-04T00:02:51Z [App::OnStartup] Starting Bloxstrap v2.8.5
2025-01-04T00:02:51Z [App::OnStartup] Compiled Saturday, 28 December 2024 at 9:18:01 AM from commit 632b6d4db4dead521468bf14d400577b5898794d (tag/v2.8.5)
2025-01-04T00:02:51Z [App::OnStartup] Loaded from %UserProfile%\Downloads\Bloxstrap-v2.8.5.exe
2025-01-04T00:02:51Z [App::OnStartup] Temp path is %UserProfile%\AppData\Local\Temp\Bloxstrap
2025-01-04T00:02:51Z [App::OnStartup] WindowsStartMenu path is %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
2025-01-04T00:02:51Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Temp\Bloxstrap\Logs\Bloxstrap_20250104T000251Z.log
2025-01-04T00:02:51Z [App::GlobalExceptionHandler] An exception occurred
2025-01-04T00:02:51Z [App::FinalizeExceptionHandling] (0x80070005) System.UnauthorizedAccessException: Access to the path '%UserProfile%\AppData\Local\Temp\Bloxstrap\Logs' is denied.
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at Bloxstrap.Logger.Initialize(Boolean useTempDir)
   at Bloxstrap.App.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2025-01-04T00:02:51Z [HttpClientLoggingHandler::ProcessRequest] POST https://bloxstraplabs.com/metrics/post-exception
@gamerloch10
Copy link

Don't run it as admin, also install 2.8.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants