how to access event viewer of window 7 by domain user using vb.net? RRS feed

  • Question

  • Hi,

    I have developed an vb.net based window application and I am using click-once deployment. I used logging class to log errors in event viewer. This will perfectly work for windows XP but in case of window vista and window 7 it will not work fine. As the application goes to log any error in the event viewer, an error pop-up displayed.

    The error is

    Some or all event logs could not be searched. Inaccessible logs: Security

    Domain User has been added in the Administrators Group but still this error occurs. If I log in with Local machine administrator, it works fine. Kindly help me out.


    • Moved by Chao Kuo Wednesday, September 29, 2010 10:48 AM AD related (From:Visual Basic General)
    Wednesday, September 22, 2010 6:33 AM


  • Sheeraz,

    You are probably better of with this question in a security forum in the technet hierarchy


    That is the forum for Sys admins, 

    I assume that because of the way you created your message you can with the information from them handle the problem.

    The event viewer is a typical Sys admin tool, so it should not be difficult.


    Wednesday, September 22, 2010 6:55 AM