Search code examples
c#enterprise-library

How to log exception to MS SQL database using MS Enterprise Library?


I already logged thrown exceptions to text file , now i want to log them to MS Sql database but i couldn't find clear sample to perform this task.


Solution

  • You can configure a DatabaseTraceListener.