Author Topic: System.UnauthorizedAccessException: Access to the path is denied.  (Read 114 times)


  • Newbie
  • *
  • Posts: 1
MusicBee v3.3.7367.38620D  (Win10.0), 25 Mar 2020 19:58:

System.UnauthorizedAccessException: Access to the path is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
   at System.IO.FileStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.StreamWriter.Dispose(Boolean disposing)
   at System.IO.TextWriter.Dispose()
   at #=zRd$3rjqKgAHiSmUPWWTLwWY=.#=zQf_zezQVh9tk()
   at #=zRd$3rjqKgAHiSmUPWWTLwWY=.#=zPnlZ_u8=(#=zcUzi2DsMzTxzPLoWDpGnaGY= #=z_5MgmPE=, Boolean #=zWG3HEkg=)
   at #=z8NkH9l$piq$lW_KGDZdD1XdU0rCyDSiyiw==.#=zYO4E4bp$dGR3(Object #=z4OVDJ6s=, EventArgs #=zHB5no$s=)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at #=z0cPqHI7KNGXgARY2g1eMHmQ=.OnClick(EventArgs #=zHB5no$s=)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5434
What were you doing when this happened?

Make sure the path to MB and the path to your music files is not set to Read Only.
Make sure your music files are not in C:\users\[username]\
Also try whitelisting the entire MB directory in your AV software.
Download the latest MusicBee v3.3 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

Check out the MusicBee Wiki.
How to post screenshots is here.


  • Administrator
  • Hero Member
  • *****
  • Posts: 30633
in windows explorer, right click on the folder/ Properties/ Security and check the user id you are logged into windows with has full access to the Music\MusicBee folder