XboxChaos / Assembly

Multi-Generation Blam Engine Research Tool
http://www.xboxchaos.com/
GNU General Public License v3.0
224 stars 95 forks source link

Unauthorized Access Exception? #339

Closed stingray818 closed 1 year ago

stingray818 commented 3 years ago

Describe the bug (Got this after the latest update. Updated on 7/23/21 Even uninstalled and reinstalled everything multiple times) System.Exception: An UnauthorizedAccessException has occurred.

Chances are you either need Admin privileges or the map/content file you just tried to modify is set to readonly. Run Assembly as Administrator and verify the readonly status of your file before reporting this.

---> System.UnauthorizedAccessException: Access to the path 'C:\Users\Futur\AppData\Local\Temp\update.exe' is denied. at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost) at Assembly.Helpers.VariousFunctions.EmptyUpdaterLocations() at Assembly.App.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b1_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) --- End of inner exception stack trace ---

ghost commented 2 years ago

Change the Directory of your Repo to where Elevated Permissions are not required.