Cannot open log for source

J

John

System.InvalidOperationException: Cannot open log for source {0}. You may
not have write access. ---> System.ComponentModel.Win32Exception: Access is
denied

I am getting the following error when writing to the event log (Application)
from my asp.net app. Even when I use an identity setting I still get the
same error. Any suggestions appreciated.

John
 
D

Daniel Fisher\(lennybacon\)

The user account "ASPNET" has no write permission on the EventLog. Set
permissions for ASPNET and it works fine
 

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,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top