'Requested registry access is not allowed.' error

V

Vamsi

Hi,
i am trying to write to event log from my aspx application that is
using windows authentication. All my users would be 'Domain Users'.
I am able to write to event log when logged in as Administrator and
not as 'Domain Users'. I added 'Domain Users' to Permissions in
registry for Application key and its subkeys I am using.
I still get this error. What else should be done in my case to get my
Domain Users be able to write to event log.
Application runs on Win 2003 Server.
Thanks,
Vamsi
 
R

Randy Charles Morin

It's not that you don't have access to the Event Log, but rather that
you don't have access tot he Registry. The Registry hive for creating
new Event Sources.

You have to manually create the Registry keys for the Event Source.
You can do this by creating a Console App that writes one Log entry to
the Event Source.

Hope this helps,

Randy
http://www.kbcafe.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top