angel_eyez 0 Newbie Poster

Hi all

I write a code which read all application and system logs but i'm stuck at one place. How do i read the security logs i've tried alot but it didn't work.I logged in as administrator but still got the exception

{"The source was not found, but some or all event logs could not be
searched. Inaccessible logs: Security."} System.SystemException
{System.Security.SecurityException}

How do i resolve it. Plz reply soon. Any advise or help is really appreciated.