Hello, friends,
We have a .net web app, which will need to access event log files of
other machines in our company's network using
System.Diagnostics.EventLog namespace.
In Web.config, we set:
<identity impersonate="true"/>
In IIS Directory Security setting tab, we checked all Authenticated
Access, and unchecked Anonymous Access.
But, it still does not work. When a user visit this web app, he/she
has no problem to visit other pages, except the one that needs to
retrieve event log info from other machines. The error message is:
Access to the registry key is denied.
Any ideas, reference papers? Help please....
Thanks.