MetroLog icon indicating copy to clipboard operation
MetroLog copied to clipboard

COMException on FileTarget.DoCleanup

Open negue opened this issue 9 years ago • 0 comments

I have many bugreports with this Exception:

Message: Error HRESULT E_FAIL has been returned from a call to a COM component. ---
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at Windows.Storage.StorageFolder.GetFilesAsync()
   at MetroLog.FileTarget.<docleanup>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MetroLog.Targets.FileTargetBase.<checkcleanupasync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MetroLog.Targets.FileTargetBase.<writeasynccore>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MetroLog.Targets.Target.<writeasync>d__5.MoveNext()

Latest Nuget Version Windows Store App 8.1

negue avatar Jun 10 '16 08:06 negue