Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Una o più eccezioni di attività non sono state osservate da Waiting nell'attività oppure hanno acceduto alla relativa proprietà Exception. Di conseguenza, l'eccezione non osservata è stata rigenerata dal thread di finalizzazione. #147

Open
brkastner opened this issue Jan 4, 2017 · 0 comments

Comments

@brkastner
Copy link
Owner

System.AggregateException: Una o più eccezioni di attività non sono state osservate da Waiting nell'attività oppure hanno acceduto alla relativa proprietà Exception. Di conseguenza, l'eccezione non osservata è stata rigenerata dal thread di finalizzazione. ---> System.Net.WebException: Eccezione durante una richiesta WebClient. ---> System.IO.IOException: Il processo non può accedere al file 'C:\Users\MARCO10\AppData\Local\Temp\AWUXSDJY.mp3.jpg' perché è in uso da un altro processo.
   in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   in 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)
   in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   in System.Net.WebClient.DownloadFileAsync(Uri address, String fileName, Object userToken)
   --- Fine della traccia dello stack dell'eccezione interna ---
   in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   in SDownload.Framework.Streams.BaseStream.<downloadextra>d__e.MoveNext()
   --- Fine della traccia dello stack dell'eccezione interna ---
---> (Eccezione interna 0) System.Net.WebException: Eccezione durante una richiesta WebClient. ---> System.IO.IOException: Il processo non può accedere al file 'C:\Users\MARCO10\AppData\Local\Temp\AWUXSDJY.mp3.jpg' perché è in uso da un altro processo.
   in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   in 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)
   in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   in System.Net.WebClient.DownloadFileAsync(Uri address, String fileName, Object userToken)
   --- Fine della traccia dello stack dell'eccezione interna ---
   in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   in SDownload.Framework.Streams.BaseStream.<downloadextra>d__e.MoveNext()<---

--- Inner exception of type System.Net.WebException start ---
--- Message: Eccezione durante una richiesta WebClient. ---
System.Net.WebException: Eccezione durante una richiesta WebClient. ---> System.IO.IOException: Il processo non può accedere al file 'C:\Users\MARCO10\AppData\Local\Temp\AWUXSDJY.mp3.jpg' perché è in uso da un altro processo.
   in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   in 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)
   in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   in System.Net.WebClient.DownloadFileAsync(Uri address, String fileName, Object userToken)
   --- Fine della traccia dello stack dell'eccezione interna ---
   in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   in SDownload.Framework.Streams.BaseStream.<downloadextra>d__e.MoveNext()
--- End of inner exception stack trace ---
--- Inner exception of type System.IO.IOException start ---
--- Message: Il processo non può accedere al file 'C:\Users\MARCO10\AppData\Local\Temp\AWUXSDJY.mp3.jpg' perché è in uso da un altro processo. ---
System.IO.IOException: Il processo non può accedere al file 'C:\Users\MARCO10\AppData\Local\Temp\AWUXSDJY.mp3.jpg' perché è in uso da un altro processo.
   in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   in 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)
   in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   in System.Net.WebClient.DownloadFileAsync(Uri address, String fileName, Object userToken)
--- End of inner exception stack trace ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant