EventLog security problem

  • Thread starter Thread starter Carlo Razzeto
  • Start date Start date
C

Carlo Razzeto

I would like to have my ASP.Net web application register an EventLog in my
system and write all application errors there. My problem is when my
application hits the line:

EventLog.CreateEventSource("JobSite", "JobSite EventLog")

I get an unhandled security exception. It explains that my application does
not have sufficiant privilages to create a new log. I have looked through my
VB.Net/.Net Framework Reference (Programming Visual Basic.Net) and the .Net
Framework SDK but I can't find any information on giving ASP.Net
applications the privialges they need. Any help would be appriciated,
thanks.

Carlo
 
Back
Top