I am able to write to a log file using log4net and Cassini/IIS dev server, but when I use IIS7.5, I can\'t write out to a file.
Initially, I got a security exception
Try giving IIS AppPool\DefaultAppPool user full permission to the log directory. That has helped me at least once.