How to access other machines' event log files in a .net web app?

G

Guest

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.
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top