Exception:Access to the path is denied.

报错信息

UnauthorizedAccessException
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.BeginWriteCore(Byte[] bytes, Int32 offset, Int32 numBytes, AsyncCallback userCallback, Object stateObject)
   at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
   at System.IO.FileStream.Dispose(Boolean disposing)
   at Microsoft.Win32.WinInetCache.WriteStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Microsoft.Win32.WinInetCache.WriteStream.CloseEx(CloseExState closeState)
   at System.Net.Cache.ForwardingReadStream.Dispose(Boolean disposing, CloseExState closeState)
   at System.IO.Stream.Close()
   at System.Windows.Media.Imaging.BitmapDownload.ReadCallback(IAsyncResult result)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Cache.ForwardingReadStream.ReadComplete(IAsyncResult transportResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch() 

解决方法

暂无解决方案。

相关信息
0 查看
2022-07-17 18:04
Quicker版本
版本 反馈次数