Accessing an EventLog on a Remote Server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All - I have an app that has a simple datagrid being filled with an
EventLog.Entries. When the MachineName is local ("." or the machine's name)
all works fine. When the application tries to access another EventLog on a
remote server, there appears to be a security issue or networking issue. The
EventLog is a custom log used for logging information about a Windows Service
running on the server. I have looked at the EventLogPermission, but I am not
quite making the connection between the security context for the user running
the application and the user needed to access the event log on the remote
server. Any help would be most appreciated. Thanks.
 
Hello Al,

The best way might be to use a web-service/ remoting server running on the
server and doing the fetching job for you. Just an idea.

HTH,
r.
 
That might be an option. Since IIS is running for the Reporting Services.
Have you (or anybody else) used the EventLogPermission? I was thinking that
by using a specific account the user can set, that I could use that security
context to access the remote server's event logs. Thanks.
 
Back
Top