该进程无法访问该文件 [英] The process cannot access the file

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

问题描述

大家好,



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



消息 - 发生了一个或多个错误。 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()

解决方案

根据我的评论,当你试图删除或更新它时,另一个进程正在访问该dll。



有免费的Microsoft的实用程序,可以让您检查发生了什么 - 请参阅 http://technet.microsoft.com/ en-gb / sysinternals / bb896653.aspx [ ^ ]

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()

解决方案

As per my comment, another process is accessing that dll when you are trying to delete or update it.

There is a free utility from Microsoft that will allow you to examine what's going on - see http://technet.microsoft.com/en-gb/sysinternals/bb896653.aspx[^]


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

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆