Enterprise Library Logging cannot output log

By aj li

Exception occurs when you try to log to a file.



Error: "The current build operation (build key [Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter, null])" failes:
Access to the path 'C:\' is denied. (Strategy type ConfiguredObjectStrategy, index 2)

Solution: Try changing where you will save your log file ouput, you may don't have permission to write on the disc.

Enterprise Library Logging cannot output log  (912 Views)