locked
Exception Logging issue RRS feed

  • Question

  • User-1322853079 posted

    Hi everybody,

    I am using micrsoft enterprise library 3.1 may for .Net2.0    for exception handling ,

    I am using the following method to handle and log the exception ...

    ExceptionPolicy.HandleException(ex, "Test Policy");

     the exception is handled in my development system and it is logged in the EventLog in the specified category without any issues,

    the issue is the exception is not logged in the EventLog in the deployment server .......with the same set up i have in development server

    there are no clues to track out the issue ........

    can anybody help me stating where i am actually going wrong .....

    am i missing any thing else to be done in the deployment server.....

     

    Thanks in advance

    Suresh kumar goudampally 

     

     

     

     

     

     

    Wednesday, June 11, 2008 3:06 AM

Answers

  • User-1322853079 posted

    Hi Everybody,

    The issue is solved now...

    the problem is even in the enterprise library some exceptions are not handled properly and there are no logs to track those issues....

    the issue was there were no access previleges for the user ASPNET to write to the event log on the server which i am using .... i have changed the code

    of enterprise library and logged the issue in a file and daignosed the actual problem.

    Hope this helps for the rest of the users who are facing the same problem.

     

    Thanking You

    Suresh Kumar Goumdapally 

     

     

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 12, 2008 7:22 AM