1) Great for when you can get to the machine or have power users who can 
send you the event log.  Does anybody know if there is a way to program 
the saving of a windows event log to a file?

2) Simple approach....works well when using a tracer.

3) Overkill and overhead....specially if you combine errors with bebugging 
and tracing.

4) The DB connection can be the error....then what?




Message from Manoj Aggarwal <[EMAIL PROTECTED]>@DISCUSS.DEVELOP.COM 
received on 09/15/2005 11:28 PM

09/15/2005 11:28 PM



Manoj Aggarwal <[EMAIL PROTECTED]>@DISCUSS.DEVELOP.COM

Please respond to "Unmoderated discussion of advanced .NET topics." 
<ADVANCED-DOTNET@DISCUSS.DEVELOP.COM>
Sent by "Unmoderated discussion of advanced .NET topics." 
<ADVANCED-DOTNET@DISCUSS.DEVELOP.COM>



        To:     ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
        cc: 
        Subject:        [ADVANCED-DOTNET] Best way to handle errors in .net

Hi All,

I want to know the best way to handle exceptions and errors in .net.

My work involves ASP.Net and SQL Server 2000. I have searched google to 
find
out the ways to handle errors. I came up with following ideas.

1. Using windows event manager.
2. Creating text files to log errors.
3. creating xml files to log errors.
4. Database for logging errors.

First of all I would like to know which is the best option to handle the
errors. Other is if something other than this is possible that is good in
performance then pls let me know.

Thanks,
Aggarwal.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to