locked
Having trouble logging with EntLib 4.1 Logging Application Block RRS feed

  • Question

  • User532500805 posted

    I am trying to write error logs from asp.net site using Enterprise Library 4.1 logging application block rolling flat file listener and event log listener.  This works fine on development server but not in production.  I have a feeling it has something to do with code access security policy in production, because when I compare development and production, develpopment has security.config and enterprisesec.config files in 2.0 CONFIG folder and prod does not.  So I am guessing there is some security policy mimatch between the two.

    This is an intranet asp.net web application and I am trying to log to a folder outside the webroot.

    Any help is appreciated.


    Thanks

    Monday, May 24, 2010 11:42 AM

All replies

  • User-1071894543 posted

    You need to set modify permission for the user running the application pool

    On the directory which your log files are being saved.


    Tuesday, May 25, 2010 1:20 AM