本文介绍了该进程无法访问该文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在发布中得到以下异常可以帮助我解决它。



消息 - 发生了一个或多个错误。 StackTrace - 在System.Threading.Tasks.Task.WaitAll(Task []任务,Int32 millisecondsTimeout,CancellationToken cancellationToken)



在Eagle.Shell.EagleModuleTypeLoader.AsyncDownloadCallback(Object threadContext)InnerException - > System.IO.IOException:进程无法访问文件'C:\ Users \ hkumar \ AppData \ Local @\\Apps \2.0 \ LJMMJ58O .OT7 \ 1BKMJ847.RZC \

eagle.app_c505b4a229db3779_0063.0000_3354e52fb53299eb\modules\eagle.data.dll'因为它正被另一个进程使用。



at System.IO .__ Error.WinIOError(Int32 errorCode,String maybeFullPath)



at System.IO.FileStream.Init(String path ,FileMode模式,FileAccess访问,Int32权限,布尔useRights,FileShare共享,Int32 bufferSize,FileOptions选项,SECURITY_ATTRIBUTES secAttrs,字符串msgPath,布尔bFromProxy,布尔useLongPath,布尔检查主机)



at System.IO.FileStream..ctor(String path,FileMode mode,FileAccess access)



at Eagle.Shell.EagleFileLoader.ExecuteDownloadFile(Uri url,String fileName)



在Eagle.Shell.EagleModuleTypeLoader。<> c__DisplayClass9。< AsyncDownloadCallback> b__2()



at System.Threading.Tasks.Task.InnerInvoke()



在System.Threading.Tasks.Task.Execute()

解决方案

Hi All,

I am getting this below exception in release can any please help me to come out of it.

Message --One or more errors occurred. StackTrace - at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)

at Eagle.Shell.EagleModuleTypeLoader.AsyncDownloadCallback(Object threadContext) InnerException -->System.IO.IOException: The process cannot access the file 'C:\Users\hkumar\AppData\Local\Apps\2.0\LJMMJ58O.OT7\1BKMJ847.RZC\
eagle.app_c505b4a229db3779_0063.0000_3354e52fb53299eb\modules\eagle.data.dll' because it is being used by another process.

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)

at Eagle.Shell.EagleFileLoader.ExecuteDownloadFile(Uri url, String fileName)

at Eagle.Shell.EagleModuleTypeLoader.<>c__DisplayClass9.<AsyncDownloadCallback>b__2()

at System.Threading.Tasks.Task.InnerInvoke()

at System.Threading.Tasks.Task.Execute()

解决方案


这篇关于该进程无法访问该文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 16:27