Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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()
Posted
Comments
CHill60 8-Jan-15 6:51am    
The clue is in the message - something else is using that dll - make sure all processes that could access it have closed down before attempting to delete or update it

1 solution

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[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900