Here Mudassar Ahmed Khan has explained with an example, how to create a simple Error Log Text File in ASP.Net using C# and VB.Net.
Writing or Logging errors (exceptions) occurring in ASP.Net application to Text files makes it easier to find the cause of the error as the Error Log Text File can be easily opened using the basic Notepad application in Windows.
↧