Exception handling functionality with inserts the errors n exceptions in a sql database RRS feed

  • Question

  • User1693242203 posted


    I want to implement Exception handing functionality which dumps the errros and exceptions from my asp.net web appln to a sql db.

     is there any way i can implement this. i am having all kinds of  exceptions, like file not found,argumentnullexception, object refrnce error.

    etc .

    1) Can anyone pls provide any pointers , how to start with and also which ent lib version i need to use.

    2) Am using asp.net 4.0

    3) Also would like to know one exception helper class is enough for this.

    Tuesday, October 14, 2014 7:50 AM

All replies

  • User-902516579 posted


    You might consider writting the exception to the Event log or a log file and then run the Insertion of those into the database, if needed.

    The issue is, what happens if the Insertion of the exception into the database Encounters an exception itself?

    HTH, Benjamin

    Friday, October 17, 2014 9:15 AM