This project has moved and is read-only. For the latest updates, please go here.

System.Security.SecurityException in ...AppInfrastructure.EventLogAudit

This class does rely on the ability to write into the event log. To do this, it needs to create the event source "Sem.Authentication.MvcHelper.AppInfrastructure". Creating the event source includes checking whether the event source is already available (what includes reading all event logs) and creating the source. So you must grant these rights to the technical user the application runs with.
While debugging you might be able to start the application once with elevated privileges to enable the creation of the needed entry. After creating the event source you can start the application without elevated privileges.

Last edited Jan 10, 2014 at 6:17 AM by Matzen, version 3