Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Event Log from a remote computer?

Event Log from a remote computer?

Scheduled Pinned Locked Moved C#
csharpasp-netdotnetwindows-adminquestion
3 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I am programming in ASP.NET and C#. I was trying to retrieve the event log information from a remote machine in my code using the EventLog class from .NET Framework. It throws an Unauthorized access exception when I try to get event log information of any remote computer. Though, I am able to access these event logs through Event Viewer. I was researching on the web and I read that I need registry rights to that remote machine. Does anyone know about this or has anyone tried this before?

    A 1 Reply Last reply
    0
    • L Lost User

      I am programming in ASP.NET and C#. I was trying to retrieve the event log information from a remote machine in my code using the EventLog class from .NET Framework. It throws an Unauthorized access exception when I try to get event log information of any remote computer. Though, I am able to access these event logs through Event Viewer. I was researching on the web and I read that I need registry rights to that remote machine. Does anyone know about this or has anyone tried this before?

      A Offline
      A Offline
      another
      wrote on last edited by
      #2

      I'm working on a project now that does that and I'm able to do it. The domain account I'm using to access the remote computer is a member of the Administrator group on the remote machine. I don't know what registry rights are but I assume Admin rights cover that. Maybe you have some kind of read-only rights to the remote registry? I haven't seen this problem before so I don't know what would cause it. Craig Dodge A catchy signature should appear here.

      C 1 Reply Last reply
      0
      • A another

        I'm working on a project now that does that and I'm able to do it. The domain account I'm using to access the remote computer is a member of the Administrator group on the remote machine. I don't know what registry rights are but I assume Admin rights cover that. Maybe you have some kind of read-only rights to the remote registry? I haven't seen this problem before so I don't know what would cause it. Craig Dodge A catchy signature should appear here.

        C Offline
        C Offline
        Chintan Desai
        wrote on last edited by
        #3

        But, you didn't wrote, how you achieve your work...

        Thanks, Chintan(India)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups