locked
Web.config issue RRS feed

  • Question

  • The application that we have developed has a custom error page and error logging functionality designed. However there is a case when error occurs, custom error page is reached but no error is logged on to the database.

    When i try to view the error description by turning custom errors off, the error no longer appears.

    In short, error disappears on just saving the web.config file.

    Thursday, April 28, 2011 1:01 PM

Answers

  • Lakshmi Narayana,

     

    Few things on this post.

    First, you are posting the Web related query in C# language forum, which is a place for C# language related forum. Hence post the same in the asp.net/forums

    Secondly, we generally don't open the web.config file on the run time. so there is no point of saving the web.config file. So there is some thing that you are missing to convey.

    Finally, regarding the custom error, i recommend you to cache it as soon it is found and log it while the custom error page load. Hope this helps.


    Every thing is perfect as long as you share
    Thursday, April 28, 2011 1:47 PM