Page MenuHomeFeedback Tracker

Arma 3 Launcher encountered an unexpected error log (Access to the path C:\Users\...\arma3.defaultpreset2 is denied.)
Closed, ResolvedPublic

Description

Since the new update my Arma has had more than a few new problems; Insane Lag, Inability to join specific servers, and a error log. The Error does not stop me from playing but it is odd. Here is the error or exception;

----------------------------

Exception

System.UnauthorizedAccessException: Access to the path 'C:\Users\Jason\AppData\Local\Arma 3 Launcher\Presets\arma3.defaultpreset2' is denied.

   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)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
   at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)
   at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings)
   at System.Xml.Linq.XDocument.Save(String fileName, SaveOptions options)
   at Launcher.Presets.FileBasedPresetManager.SaveDefaultPreset(PresetInfo dto)
   at Launcher.ViewModels.PresetsViewModel.SaveDefaultPreset()
   at Launcher.ViewModels.PresetsViewModel.SaveSettings()
   at Launcher.ViewModels.PresetsViewModel.CurrentOnExit(Object sender, ExitEventArgs exitEventArgs)
   at System.Windows.ExitEventHandler.Invoke(Object sender, ExitEventArgs e)
   at System.Windows.Application.OnExit(ExitEventArgs e)
   at System.Windows.Application.DoShutdown()
   at System.Windows.Application.ShutdownImpl()
   ...

(shortened for clarity)

Details

Legacy ID
33547112
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Launcher
Steps To Reproduce

All I need to do is press play on the launcher in order for it to send me anouther log on my desktop.

Additional Information

I don't know much of whats going on in this update but I hope this helps fix some problems.

Event Timeline

JasonFreeman edited Additional Information. (Show Details)
JasonFreeman set Category to Launcher.
JasonFreeman set Reproducibility to Always.
JasonFreeman set Severity to None.
JasonFreeman set Resolution to Fixed.
JasonFreeman set Legacy ID to 33547112.May 8 2016, 12:25 PM

Hello,
you should be able to solve this by deleting file "arma3.defaultpreset2" in a folder "C:\Users\Jason\AppData\Local\Arma 3 Launcher\Presets\".

The Folder is Empty

Then try to delete the "Presets" folder itself.

It cannot be empty - if you launched game before, you must game files inside. Check DIRECTLY AND CARREFUL ADRESS and delete problematic files

I will post a picture of the folder it is empty. I will delete the folder itself now.

the Error still occurs

OK, then could you please select the "Arma 3 Launcher" folder, right-click on it -> Properties -> Security tab a check that your user name is in the list and that if you select it you have all permissions in a list below (Full control, Modify,... all have a check mark in an Allow column).