Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Access Denied Writing to Eventlog

Posted on 2008-06-20
6
541 Views
Last Modified: 2012-06-27
I am working in C# MOSS application.
On the read/write site where users have to log in, and  when an error occurs, I am able to log the error to a custom eventlog source.

But on the read only site when Anonymous user access the site and an error occurs, the error is not logged to the eventlog source.
Rather, an error occurs (Access denied writing to the Eventlog).

I added autheticated users to the Eventlog source in my Windows 2003 SP2 registry.  But I'm still getting access denied when Anonymous users access the read onyl site and an error occurs.

I also looked into Adjusting "managing auditing and security logs" by adding Anonymous users but still getting same error.

Any help would be greatly appreciated.

Tom
0
Comment
Question by:TomDa
  • 3
  • 3
6 Comments
 
LVL 16

Expert Comment

by:2PiFL
ID: 21834511
0
 

Author Comment

by:TomDa
ID: 21845186
The article sounds like the right article but when I click on any of the article's links, the cooresponding pages are either in Chinese or the article is broken, very strange.  See for yourself.  Click one of the links and see if you get a weird page with no content.

0
 
LVL 16

Expert Comment

by:2PiFL
ID: 21845211
That is weird.  This article from MS will give you what you need.

http://support.microsoft.com/kb/323076
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:TomDa
ID: 21845671
I found this article just before you sent it to me.
That said, I backed up my registry and then changed my registy entry to allow Anonymous Access read write and clear privledges by changing the default key
from
O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x1;;;AU)
to this...
O:BAG:SYD:(A;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x1;;;AU)

I then did an iisreset
And I still have the same problem.

Any other suggesstions.

Also fo note, when I break into the code the value of user is null but the error says that my app pool user does not have access.  yet he is a member of the local Administrator group.

Any other ideas would be appreciated?

Tom

0
 
LVL 16

Accepted Solution

by:
2PiFL earned 500 total points
ID: 21847350
Just as a test, change (A;;0x1;;;AU) to (A;;0x7;;;AU)
0
 

Author Comment

by:TomDa
ID: 21857525
Still not luck.
Any other ideas?

Tom
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The next five years are sure to bring developments that are just astonishing, and we will continue to try to find the balance between connectivity and security. Here are five major technological developments from the last five years and some predict…
If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question