473,508 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2147

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

Similar topics

3
9554
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
19117
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
18918
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
2627
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
2193
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
309
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
3703
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
1697
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
1762
by: eranby | last post by:
Hi, I connect the SQL server in my application using this code : ConnectionStringSettings settings = ConfigurationManager.ConnectionStrings; con = new...
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7125
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
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7388
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...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7499
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...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.