Event Log from a remote computer?
-
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?
-
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?
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.
-
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.
But, you didn't wrote, how you achieve your work...
Thanks, Chintan(India)