Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm attempting to write to a custom event log .... but I get the error:

 Win32Exception Access Is Denied
 Cannot open log for source 'blah'. You may not have write access.

I've trawled the net.. followed varions links and to date the best one I've come across is this MSKB article. It's not as clear as it could be though.

This is a 2008 R2 development server. I've added the following REG_SZ key CustomSD with a value of O:BAG:SYD:(A;; 0x7;;;AN)(A;; 0x7;;;SY)(A;; 0x7;;;BA)(A;; 0x7;;;SO)(A;; 0x7;;;IU)(A;; 0x7;;;SU) to registry folders "eventlog" and my sub folders.

I've also allowed everyone full access to the physical event log (.evtx file)... but all to no avail.

I think I'm giving Read Write and Clear access to the various account types (SY=System etc,).

My website which fails is running under the default IISAPPPool account.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.