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 ...