473,396 Members | 2,082 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 2143

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: msnews.microsoft.com | last post by:
I'm running a intranet site on a NT 4.0 IIS 4 server. I have a page that uses CDONTS. I recently change this intranet application to run as an isolated process (Selecting the checkbox "Run in...
3
by: Yitzhak | last post by:
I am having "Permission denied" error while calling LogEvent method of WScript.Shell component. Basically, ASP page calls Windows Script Host Shell component to log events to the OS Application...
4
by: Sachin | last post by:
Hi All, I am trying to create and write to Event Log on Windows Server 2003 system in a simple C# application. However, it throws the exception saying that Access is denied. What permission...
2
by: Ken Varn | last post by:
I need to pragmatically add events to the Win2K Event Viewer from my ASP.NET web application. What user rights are required for this? I have tried to assign "act as part of the operating system",...
0
by: Benjamin Gavin | last post by:
Hi all, I am running into a rather bizarre problem with one of my web applications. I'm in the process of applying the PrincipalPermissionAttribute to a number of pages and I've stumbled into a...
0
by: JT | last post by:
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...
5
by: Simon Hart | last post by:
Does anyone know the standard code access permission to be able to manipulate a process using the Process class? Thanks Simon.
0
by: beachboy | last post by:
I have moving the application from windows 2000 to windows 2003, that application is using .net framework ver 1.1 and have their own COM library to do a specify task. I have registed on "COM+...
7
by: eranby | last post by:
Hi, I connect the SQL server in my application using this code : ConnectionStringSettings settings = ConfigurationManager.ConnectionStrings; con = new...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.