Wednesday 4 May 2016

EventID 1026 The process was terminated due to an unhandled exception

While i was checking event viewer i got something like this.
i think its permission related issue. I solved it by giving proper read/write permission over directory.

  • Provider [ Name]  .NET Runtime 
  • EventID 1026 [ Qualifiers]  0 Level 2 Task 0 
  • Keywords 0x80000000000000 
  • TimeCreated [ SystemTime]  2016-05-04T06:25:56.000000000Z 
  • EventRecordID 15416 
  • Channel Application 
  • Computer AAPPServer1
  • Security 


Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
Stack:

   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.FileInfo.Delete()
   at _m._Track.DisplayLog(System.String, System.Text.StringBuilder)// my code
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()