Cannot open log for source {0}. You may not have write access.
From: Magdelin (magdelinsuja_at_newsgroups.nospam)
Date: 08/23/04
- Next message: Zeng: "Disallow sharing the same login"
- Previous message: Magdelin: "Cannot open log for source {0}. You may not have write access."
- Next in thread: [MSFT]: "RE: Cannot open log for source {0}. You may not have write access."
- Reply: [MSFT]: "RE: Cannot open log for source {0}. You may not have write access."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 23 Aug 2004 12:31:06 -0700
Hi,
I have hosted my .NET Remote application in IIS 6.0 on Win2K3. Application
performs "Basic" authentication and identity is impersonated in web.config
file. Errors and exceptions from the .net remote application are logged to a
custom event log on the application server on which the application is
hosted. The error logging fails with the message "Cannot open log for source
{0}. You may not have write access.".
Registry on the server already has a Key for both the custom event log and
custom event source. I have granted read/write permission to the
HKLM/CurrentControlSet/Services/Event log key in the registry and all its
subkeys to all the users who might probably get impersonated in the
application. I have also granted read/write permission to the above mentioned
users for the <customeventlog>.evt file within the
c:\windows\system32\config.
But, the application still throws security exception with the message
"Cannot open log for source {0}. You may not have write access." whenever the
application tries to write the custom event log.
What would the minimum set of permissions that have to be granted to the
impersonated users in ASP.NET application to allow the users to be able to
write to custom event logs setup on application/web server?
Any quick response or pointers would be greatly appreciated.
Thanks in advance.
Magdelin
- Next message: Zeng: "Disallow sharing the same login"
- Previous message: Magdelin: "Cannot open log for source {0}. You may not have write access."
- Next in thread: [MSFT]: "RE: Cannot open log for source {0}. You may not have write access."
- Reply: [MSFT]: "RE: Cannot open log for source {0}. You may not have write access."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|