Ultimate Collection - { fslBlog & faisalmb.com } Ultimate Collection - { fslBlog & faisalmb.com }   
Blog   |   Site   |   Posts (326)   |   Tags Xplorer   |   Feed Subscribe Free! Aha! you surfing post ASP.NET Cannot open log f... Sign in    Partner Site - Real Home Contact Search   

Mon

5

Oct

2009

   

ASP.NET Cannot open log for source {0}. You may not have write access. - Access is denied



Today I was getting following error while writing to Event Log on Windows 2008 Server (also applicable to windows 2003 server) using .NET

The resolution worked for me was appending (A;;0x3;;;AU) in CustomSD without quotes under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Eventlog\EventLogName in windows registry where AU is referring to "Authenticated Users". Because in W2K3, the security of Application Event Log is controlled by CustomSD.
After appending the value would be similier to

O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0x f0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x3;;;AU)


If CustomSD doesnt exists, then create a string named CustomSD and set its value to O:BAG:SYD:(A;;0x3;;;AU)

 P.S. Be careful by taking proper backup of registry before doing any change to it.

 

 

Tags: , , ,

Categories : Computers / Programming / Mobiles


Comments

your big fan  United States | Reply 11/14/2009 11:37:19 AM
Visitor Comment   great post

Add Comment Add comment

 
 
 
   Country flag

biuquote
  • Comment
  • Preview
Loading





Intro

Faisal Bashir
Software Architect
KalSoft Limited
Microsoft Certified Technology Specialist.
Currently in Dubai. [more]

Recent Comments

Comment RSS

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

You know that...
on September 11, When World Trade center - Twin Tower was hit by aircraft....
there were around...... 2,863 people died
but Do you know that...
630 million of homeless people in the world.
The world united against terrorism. It should also be united against POVERTY.
210375 hits. (Best viewed @ 1024x768 resolution min.) Comments here...
© 2001-2009 Muhammad Faisal | Disclaimer | Contact | Partner Site