All exceptions that you don't expect to occur, with the most possible details. This is to help you to fix something that gone wrong. You may also want to log application warnings or errors.
-----Message d'origine----- De : Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] la part de Manoj Aggarwal Envoye : September 21, 2005 04:50 A : ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Objet : [ADVANCED-DOTNET] What are the errors and exceptions that we should log in ASP.Net Dear Friends, I would like to know all errors and exceptions that we should log in asp.net applications. I am using xml file for logging errors. I want to know the exceptions that are most likely to occur in the application and we should log them down. I believe that we should not catch all acceptions from ApplicationException class. Rather we should catch specified exceptions. I am using following classes specifically in my application: System.Data.Oledb System.IO System.Environment System.Text System.Web.Mail So in the context of things, please let me know the errors and exceptions that I should look for in my application, so that I am able to create a error free application. Thanks, Manoj. =================================== 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