Author: Logos | Posted on: 3/4/2009 2:05:29 PM | Views : 278

Dim eventLogPerm As New EventLogPermission(EventLogPermissionAccess.Administer, ".")
eventLogPerm.PermitOnly()

EventLog.WriteEntry("Test1", "Test2")*****************************************************
The above code block is giving normal user account blocks problems.  It works with my account with admin privileges.  My app uses windows authentication.  I have pasted some error details below.  Please let me know if you have any ideas.

 Thanks

****************************************************

Exception Details: System.ComponentModel.Win32Exception: Access is denied
Stack Trace:





< ...

Go to the complete details ...