suhas setty

suhas setty

  • NA
  • 128
  • 52.3k

Find exception and error in log file and copy ten lines

Jun 25 2015 3:14 AM
Hi ,
 
i want to find error line or the exception from the log file and find the line number where the error as occured.
copy ten lines above the error line or exception line.
 
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes() 
 
simiary for Error.
 
 

Answers (2)