471,348 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

ASP.NET Permission Writing to NT Event Log

JT
Microsoft Please Help!!!

Can anyone out there give me a definitive explanation on EXACTLY what
rights an account needs to be able to both create and write to the NT
Event Log from ASP.NET in windows 2000 and 2003 server? I would like
to see a list of files and registry keys are required for the aspnet
account to perform this functionality...

This seems to be an issue on any machine that I install on... My event
log class looks exactly like this:
http://msdn.microsoft.com/library/de...classtopic.asp

I have tried the following and can only seem to get my apps to write to
the log successfully if they run as an admin...

I have tried:

The full control registry permissions and subkeys as well as the create
source installer found in http://support.microsoft.com/?id=329291

Creating the event log source manually in the registry

Granting ASPNET full control of C:\WINDOWS\system32\config

http://msdn.microsoft.com/library/de...feventlogs.asp
This article says "The impersonation identity must have sufficient
privileges to create categories". It does not describe what privledges
are needed though?

http://msdn.microsoft.com/library/de...feventlogs.asp
This article says world should be able to write to the application
log... But that doesn't seem to work either...

Finally I read that you need to make aspnet run as system... That
doesn't seem like a security best practice either...

Any help would be appreciated!

Jul 21 '05 #1
0 2096

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by msnews.microsoft.com | last post: by
4 posts views Thread by Sachin | last post: by
reply views Thread by Benjamin Gavin | last post: by
reply views Thread by beachboy | last post: by
1 post views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.