2
Reply

Find exception and error in log file and copy ten lines

suhas setty

suhas setty

Jun 25 2015 3:14 AM
421
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)