My ASP.NET application uses a SQL Server 2008 database.
Very few data operations would happen outside of the ASP.NET interface, and then only by system admins on rare occasions.
Would there be any downside to logging errors from within ASP.NET only?
My thought is that I'd use the Exception Management Application Block to publish errors to a table (or, if the DB is unavailable, an XML or text file) as they happen in ASP.NET. I would be able to log the necessary SQL details, such as procedure name and line number as those are returned by SqlException.
I don't want to create two separate entries for each error that pops up (one as ASP.NET error bubbling up to the Catch SqlException line, one on the database side).
Thanks in advance. Hope this makes sense.
Bryant Farley
"The Dude Abides
Very few data operations would happen outside of the ASP.NET interface, and then only by system admins on rare occasions.
Would there be any downside to logging errors from within ASP.NET only?
My thought is that I'd use the Exception Management Application Block to publish errors to a table (or, if the DB is unavailable, an XML or text file) as they happen in ASP.NET. I would be able to log the necessary SQL details, such as procedure name and line number as those are returned by SqlException.
I don't want to create two separate entries for each error that pops up (one as ASP.NET error bubbling up to the Catch SqlException line, one on the database side).
Thanks in advance. Hope this makes sense.
Bryant Farley
"The Dude Abides