Accessing an EventLog on a Remote Server

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.
 
R

Ranjan Sakalley

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Using EventLog 3
eventlog 4
WndProc not working on remote desktop 1
Access to EventLog on remote computer 4
Writing to EventLog 2
Cannot write to remote Eventlog 2
Event Log 1
Security for remote EventLog access? 1

Top