all groups > dotnet windows forms > january 2006 >
You're in the

dotnet windows forms

group:

Accessing an EventLog on a Remote Server



Accessing an EventLog on a Remote Server Al
1/20/2006 10:00:02 PM
dotnet windows forms: 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
Re: Accessing an EventLog on a Remote Server Ranjan Sakalley
1/21/2006 7:00:29 AM
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.


[quoted text, click to view]

Re: Accessing an EventLog on a Remote Server Al
1/21/2006 1:37:01 PM
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.

[quoted text, click to view]
AddThis Social Bookmark Button