xenolightning / AudioSwitcher_v1

Version 1 of Audio Switcher
Microsoft Public License
903 stars 89 forks source link

Audio Switcher Client Issue #2049

Closed xenolightning closed 8 years ago

xenolightning commented 8 years ago

Details:

Audio Switcher Version: 1.6.6.85 Operating System: Microsoft Windows NT 6.2.9200.0 64-bit Administrator Privileges: False

User Comments:

Stacktrace:

System.UnauthorizedAccessException: Access to the path 'D:\My Music\AudioSwitcher.json' 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, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   at FortyOne.AudioSwitcher.Configuration.JsonSettings.Set(String key, String value)
   at FortyOne.AudioSwitcher.Configuration.ConfigurationSettings.set_AutoStartWithWindows(Boolean value)
   at FortyOne.AudioSwitcher.AudioSwitcher.LoadSettings()
   at FortyOne.AudioSwitcher.AudioSwitcher..ctor()
   at FortyOne.AudioSwitcher.AudioSwitcher.get_Instance()
   at FortyOne.AudioSwitcher.Program.Main()